The
COBOL language constructs that cause the enclave to terminate
are:
- STOP RUN
COBOL's STOP RUN is equivalent to the Fortran stop
statement. If you code a COBOL STOP RUN statement, the T_I_S (Termination
Imminent Due to STOP) condition is raised.
- Call to ILBOABN0 or CEE3ABD
Calling ILBOABN0 or CEE3ABD causes
T_I_U to be signaled. Condition handlers are given a chance to handle
the abend. If the abend remains unhandled, normal Language Environment termination
activities occur. For example, the Fortran stop statement is honored
and the Language Environment assembler user exit gains control.
User-written
condition handlers written in COBOL must be compiled with Enterprise COBOL for z/OS, COBOL for OS/390 & VM, COBOL for MVS & VM,
or COBOL/370.