ABTERMENC
ABTERMENC sets the enclave termination behavior for an enclave that ends with an unhandled condition of severity 2 or greater. TRAP(ON) must be in effect.
The default value for non-CICS® applications is ABTERMENC(ABEND).
The default value for CICS applications is ABTERMENC(ABEND).
- ABEND
- When an unhandled condition of severity 2 or greater is encountered, Language Environment® issues an abend to end the enclave.
Default abend processing occurs as follows:
- Language Environment sets an abend code value that depends on the type of unhandled condition.
- Language Environment sets a reason code value that depends on the type of unhandled condition.
- Language Environment does not request a system dump.
- Language Environment issues an abend to terminate the task.
ABEND is the default.
- RETCODE
- When an unhandled condition of severity 2 or greater is encountered, Language Environment issues a return code and reason code to end the enclave.
z/OS® UNIX consideration
In a multithreaded application with ABTERMENC(ABEND), Language Environment issues an abend on the task that is associated with the initial processing thread (IPT), regardless of which thread experienced the unhandled condition. All non-IPT threads, including the thread that encountered the unhandled condition if it is a non-IPT thread, are terminated without an ABEND. Outstanding updates to recoverable resources will be rolled back for all contexts associated with the non-IPT threads.
Usage notes
- You can use the assembler user exit, CEEAUE_ABND, to modify the behavior of this runtime option by setting the CEEAUE_ABND flag. For more information about the flag, see CEEBXITA assembler user exit interface in z/OS Language Environment Programming Guide
- To gather information about the unhandled condition, see TERMTHDACT.
For more information
For information about return code calculation and abend codes, see Abend codes generated by ABTERMENC(ABEND) runtime option in z/OS Language Environment Programming Guide.
