COBOL

The COBOL language constructs that cause the enclave to terminate are:
  • A STOP RUN

    COBOL's STOP RUN is equivalent to the PL/I STOP statement. If you code a COBOL STOP RUN statement, the T_I_S (Termination Imminent Due to STOP) condition is raised.

  • A 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 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.