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

I've one sequential file, That file contains millians of Junk & CHAR recoreds example File 1 ,,,,,...,,,.....,.,.INFOSYS.....,,,,,,,,,,,WIPRO..........., ,...,..,. My questions is : I want omit the 44th posstion to 4 CHAR (WIPRO) remaining things I want output file (including Junk CHAR also)... How can we slove this problem & give me a syntax. Please provide the result as soon as possible.

5 Answers   CTS,


In JCL I have 5 steps,I need to execute 1st,2nd and 5th steps only,can any one answer me please?

2 Answers   TCS,


I have a sequential file in which there are 50 records. Now I want to copy all the 50 records in the reverse order into a new file? The last record in the original file should be the first record in the new file. How can I do it?

4 Answers   IBM, TCS,


how do you resolve for soc7 error

6 Answers   ACS, iGate,


why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.

0 Answers  






Explain about LMPUT-

1 Answers  


Write a jcl to execute a job by 7 a.m on Jan 20,1986 ?

5 Answers   Maples, Patni, TCS,


What is the function of the dd avgrec keyword in sms datasets?

0 Answers  


Define concatenating?

0 Answers  


i have step1,step2,step3 from where can i start coding cond parameter ?

2 Answers   Verizon,


Is CPU time assigned to a JOB and JOBSTEP BOTH, by default ?

4 Answers   IBM,


One of My Job is running in production, which contains five steps?i want to pass the input to FIFTH step while running is it possible? if how?

1 Answers   CTS,


Categories