z/OS Language Environment Programming Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


ABTERMENC

z/OS Language Environment Programming Reference
SA38-0683-00

Derivation: ABnormal TERMination of the ENClave

ABTERMENC sets the enclave termination behavior for an enclave ending 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).

Read syntax diagramSkip visual syntax diagram
Syntax

                 .-ABEND---.      
>>-ABTermenc--(--+-RETCODE-+--)--------------------------------><

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.
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 associated with the initial processing thread (IPT), regardless of which thread experienced the unhandled condition. All non-IPT threads are terminated normally. This means that the thread that encountered the unhandled condition is terminated normally if it is a non-IPT thread.

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. See z/OS Language Environment Programming Guide for more information.
  • To gather information about the unhandled condition, see TERMTHDACT.

For more information

For information about return code calculation and abend codes, see z/OS Language Environment Programming Guide.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014