Rational Developer for System z
Enterprise COBOL for z/OS, Version 4.1, Compiler and Runtime Migration Guide


Method 2: Specify an abnormal termination exit

Using an abnormal termination exit is the recommended approach to getting a system dump or a CICS transaction dump when you want to set the TERMTHDACT runtime option to a value other than DUMP or UADUMP.

When you specify an abnormal termination exit, you can get a system dump or a CICS transaction dump before Language Environment frees the resources it has acquired; thus reducing the amount of diagnostic information you receive in the formatted dump, without impacting the system dump.
Abnormal termination exit under non-CICS
For non-CICS applications, the sample abnormal termination exit is SAMPDAT1, as shown in Figure 1. SAMPDAT1 provides system abend dumps.
Abnormal termination exit under CICS
For CICS applications, the sample abnormal termination exit is SAMPDAT2, as shown in Figure 1. SAMPDAT2 provides transaction dumps.

For information on using an abnormal termination exit, see Language Environment for z/OS Customization


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)