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:
theABEND
code.CEE3ABD abcode, clean-up
abcode
: theABEND
code.- clean-up(input)
The possible values are:
0
: Issue theABEND
. Batch Runtime will captureABEND
and do clean-up work. Job failed.1
: Issue theABEND
. Batch Runtime will captureABEND
and store a system dump in a file, then do clean-up work. Job failed.
-
ART3ABD abcode
abcode
: theABEND
code.The
ILBOABN0.cbl
source is in theBatch_RT/ejr/SAMPLE
directory.Note:
For Micro Focus COBOL, Batch Runtime provides twoABEND
-handling routines,ILBOABN0
andART3ABD
, 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
ABEND
routines,ILBOABN0
andCEE3ABD
.
Parent topic: z/OS JCL Cards in the Batch Runtime Environment