bdfp1m21 | Programming Concepts and Reference |
Use this macro to allow a program to exit without closing any open subfiles and without generating a dump.
If you want to process an EXITC macro when a program still has subfiles open that you do not want to save, call the DBCLR macro first. The TPFDF product suppresses the dump that would normally be caused by such an action.
Attention: We do not recommend using this macro because it can leave subfiles in a partially updated condition. Instead, use the DBCLS macro with the ABORT parameter if you want to discard updates made while a subfile is in detac mode.
Format
|
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
Examples
The following example allows the program to exit with files still open.
DBCLR
Related Macros