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

wht is the d/f between positional parameter n keyword parameter ?

1 Answers  


There are 2PROCS in a JCL. I want following conditions to be carried out 1) 1st PROC should be executed as such In second PROC 2) First 4steps should not be executed 3) 5th step should not be executed 4) 6th and 7th step should be executed The change should be done only in the JCL and PROC should be untouched ?

3 Answers   ADP,


what are the ways of passing data to a cobol program from jcl?

1 Answers   IBM,


describe the dd statement,its meaning,syntax and keywords?

1 Answers  


why jobstep can't be more than 255 and for GDG has max limit 255 . Is there any relation between the two

1 Answers   IBM, Perot Systems,






how to split a file

4 Answers   IBM,


if we give TIME=0 how many sec that job/step

13 Answers  


What do you know about jcl?

0 Answers  


what is instream data

2 Answers   EDS,


how to write a jcl prog to copy alternate recs from ps1 to another ps2,suppose ps1 having 10 recs?

2 Answers   Steria, TCS,


Suppose I have a file with three fields with data in the following format 1. empid - S9(4) COMP 2. empname - X(20) 3. empsal - S9(5)V(2) COMP-3 If I view this file, it will not be in a readable format. How to display the empid and empsal fields in a readable format without using COBOL program? What kind of SORT card will have to be coded?

4 Answers  


hi friends........if u know syntax of IEBEDIT IN JCL

2 Answers  


Categories