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