1.2.11 ABEND Routine

Captures terminations abnormally or normally from user program. It provides three COBOL programs, ILBOABN0, CEE3ABD and ART3ABD, which can be called in specific conditions to ABEND the program by itself. When the ABEND routine calls stop run, stop run terminates the process after Batch Runtime performs necessary cleanup.

  • ILBOABN0 abcode

    abcode:the ABEND code.

  • CEE3ABD abcode, clean-up

    abcode: the ABEND code.

  • clean-up(input)
    The possible values are:
    • 0: Issue the ABEND. Batch Runtime will capture ABEND and do clean-up work. Job failed.
    • 1: Issue the ABEND. Batch Runtime will capture ABEND and store a system dump in a file, then do clean-up work. Job failed.
  • ART3ABD abcode

    abcode: the ABEND code.

    The ILBOABN0.cbl source is in the Batch_RT/ejr/SAMPLE directory.

    Note:

    For Micro Focus COBOL, Batch Runtime provides two ABEND-handling routines, ILBOABN0 and ART3ABD, that are called to force ABEND. Micro Focus COBOL provides its own ABEND-handling routine, CEE3ABD. It works as defined by Micro Focus COBOL.

    For COBOL-IT COBOL, Batch Runtime provides two ABEND routines, ILBOABN0 and CEE3ABD.