bdfp1m12 | Programming Concepts and Reference |
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