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

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / jayaprabhu

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

Post New Answer

More JCL Interview Questions

What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?

0 Answers  


what are the types of abends that occur on job failure? And explain the possible causes of these

0 Answers  


What is MOD and when would you use it?

3 Answers  


how to run batch program without jcl?

3 Answers   HSBC, IBM,


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

0 Answers   IBM,






What does the keyword DCB mean and what are some of the keywords associated with it?

3 Answers   ITC Infotech,


is step name is compulsory in jcl ?

2 Answers  


What is the meaning of data definition name (ddname) and dataset name (dsname) in the DD statement?

2 Answers  


How to view the hexa decimal value thru file aid if copy book is not present for that particular data

1 Answers  


How to find in aparticular step how many versions a paricular gdg base have?

4 Answers   TCS,


what is full form of AIX

3 Answers   Accenture,


how to execute the last 5 steps in jcl

2 Answers   Syntel,


Categories