Assembler Example
COBOL example
The Legac-e Information Site
Program Termination : What do we know?Any COND CODE irrespective of value is normal termination as far as the Operating System is concerned, even if a person
interprets it differently.
COND CODES externally, as they appear in JCL listings, can also be referred to as RETURN CODES, as they can also be useful
when a sub-routine returns control to its caller. IBM standard Return Codes rise in multiples of 4 as that is the length of
a Branch Instruction and hence a Branch Table can be constructed, which offers more efficient processing than a comparison
process.
See PLI example
See REXX example
See IDCAMS example
Assembler Example
COBOL example
Copyright © Legac-e Education 2021-