bdfp1m12Programming Concepts and Reference

dfclr-Allow ECB Exit with Open Files

Use this function to allow a program to exit without closing any open subfiles and without generating a dump.

Attention: We do not recommend using this function because it can leave subfiles in a partially updated condition. Instead, use the dfcls function with the DFCLS_ABORT value of the options parameter if you want to discard updates made while a subfile is in detac mode.

Format

void dfclr();

Entry Requirements

None.

Normal Return

None.

Error Return

 See Identifying Return Indicators and Errors for information about how to check the error indicators. 

Programming Considerations

None.

Examples

The following example allows the program to exit with files still open.

dfclr();

Related Functions

dfcls-Close a Subfile.