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
What do you understand by the term notcat 2 – gs?
define cond parameter in jcl?
how can the same proc be re-used and called by many jobs?
Explain the purpose of dd dummy statement?
Are there any set of rules for the names of the steps used in a job?
What is the function of the dd mgmtclas keyword in sms datasets?
How does jcl act on code(if you take a cobol program)?
Why include statement is used in a jcl?
is there any way to execute more than one proc in the same exec statement at the same time..?
Explain the function of a dd statement?
when does a dataset go uncataloged?
how would you create a temporary dataset? And where will you use them?
How can a fb file convert to vb file using sort program?
How can return codes be tested before execution of a job step?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?