What is difference between Return Code, user completion
code, Abend code and reason Code?
Answers were Sorted based on User's Feedback
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 |
Return code when you sub any jobs ie status of job
Abend code if you ended with abend like address probelm etc
reason code if ims region is down
User completion code : needed
correct me if im wrong
| Is This Answer Correct ? | 2 Yes | 10 No |
What will happen if you attempt to restart a job in the middle of a JCL // IF .... // ENDIF?
how will be submit 1 jcl by other jcl? means that how 'll submit one job by other job??
What is the error in the following JCL statements : I) //step#three exec pgm=hkbc762 ii) //step#3 exec pgm = hkbc762 iii) //step#3 exec pgr = hkbc672
Explain the function of a dd statement?
Which COND paramter will u use to execute the step only if the previous step does not execute
In sms datasets, what is the function of the dd avgrec keyword?
can anyone explain me about sort in jcl with inrec and outrec ?
What is the difference between these two parameters? -> accounting information -> class how would it bring the differrence to a program?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
How do you handle empty files in a JCL ?
wht do u mean by inrec and outrec ?
how GDGs are concatinated?