What is difference between Return Code, user completion
code, Abend code and reason Code?

Answer Posted / srinivasa gudla

A RETURN_CODE shows the status of each step within a job and
the maximum RETURN_CODE is 256.

Return code - is issued by the program and can be set to any
value up to an arbitary limit (4096 I think). To know the
meaning of the return code you need to read the
documentation of the program / product / utility that is
being executed. i.e. RC16 from SORT does not mean the same
thing as RC16 from IDCAMS.

Abend / User completion code - are codes that reflect the
nature of the abend. System abends are documented by IBM,
user completion codes are the same as above for return codes.

Reason code - May or may no be used in conjunction with
abends codes.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is a jcl?

689


If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?

786


Describe the various parameters utilized in the creation of a gdg?

684


can any one plzzzzzz tell the jcl code for creating ps using idcams

10517


what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?

777






List the various advantages of using jcl language?

852


what is use of dsn parameter in dd statement?

670


How does jcl act on a cobol code?

659


How to pass data to a program that is coded in an exec statement?

829


have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file

923


which utility is used a dummy utility?

795


what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?

658


in ways data can be passed to a COBOL program from JCL?

669


when can a job time-out occur? How to overcome that?

753


what happens in conversion stage in job processing?

730