Abend codes generated by ABTERMENC(ABEND) runtime option

Language Environment terminates the enclave with the same abend code that caused the unhandled condition of severity 2 or greater if all of the following are true:
  • You use the ABTERMENC(ABEND) runtime option.
  • The unhandled condition was generated by an abend.
  • The assembler user exit does not alter the CEEAUE_ABND flag setting.

Table 1 shows the abend code and reason code used when the enclave terminates due to the various unhandled conditions of severity 2 or greater and ABTERMENC(ABEND) is specified in both CICS® and non-CICS environments.

Table 1. Abend code values used by Language Environment with ABTERMENC(ABEND)
Unhandled condition Abend code Abend reason code
ABEND The original abend code In non-CICS environment, the original abend reason code
Program interrupt See Program interrupt abend and reason codes for program interrupt abend codes  
Software-raised condition A user 4038 abend is used in a non-CICS environment and a transaction 4038 abend is used in a CICS environment In a non-CICS environment, X'1'
Unsuccessful LOAD (non-CICS) The abend code that would have been used by the operating system. The abend reason code that would have been used by the operating system.
Note: In a CICS environment, when an abend is issued, only the abend code is returned. CICS does not return an abend reason code.