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 abcodeabcode:theABENDcode.CEE3ABD abcode, clean-upabcode: theABENDcode.- clean-up(input)
The possible values are:
0: Issue theABEND. Batch Runtime will captureABENDand do clean-up work. Job failed.1: Issue theABEND. Batch Runtime will captureABENDand store a system dump in a file, then do clean-up work. Job failed.
-
ART3ABD abcodeabcode: theABENDcode.The
ILBOABN0.cblsource is in theBatch_RT/ejr/SAMPLEdirectory.Note:
For Micro Focus COBOL, Batch Runtime provides twoABEND-handling routines,ILBOABN0andART3ABD, that are called to force ABEND. Micro Focus COBOL provides its ownABEND-handling routine,CEE3ABD. It works as defined by Micro Focus COBOL.For COBOL-IT COBOL, Batch Runtime provides two
ABENDroutines,ILBOABN0andCEE3ABD.
Parent topic: z/OS JCL Cards in the Batch Runtime Environment