Customizing Language Environment abnormal termination exits
If Language Environment encounters an unhandled condition of severity 2 or greater, it can invoke an abnormal termination exit before it terminates the enclave. If the abnormal termination exit is invoked before the thread is terminated, the abnormal termination exit can collect problem determination data before Language Environment frees the resources that it acquired.
To generate a system dump of the user address space, you can use the TERMTHDACT(UADUMP) runtime option.
The CEEEXTAN (non-CICS), CEECXTAN (CICS®), and CELQXTAN (AMODE 64) CSECTs, which are installed in the CEE.SCEESAMP target data set, contain the instructions for defining which abnormal termination exits, if any, are called when a routine terminates abnormally. Use the CEEWDEXT (non-CICS), CEEWCEXT (CICS), and CEEWQEXT (AMODE 64) sample jobs to replace the existing CSECTs with your updated CSECTs in your runtime library.