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 is the use of temporary files?

5 Answers   Hexaware,


How do you submit a JCL under CICS environment ?

1 Answers   IBM,


what is use of dsn parameter in dd statement?

0 Answers   IBM,


What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?

0 Answers  


What is the parameter to be passed in the job card for the unlimited time , irrespective of the job class ?

2 Answers   IBM,


How to identify in JCL that an input file is empty without reading it?

4 Answers   L&T,


Hi, Say I have 10 flat files and I want to copy all these 10 flat files to a GDG versions flat files (I have GDG base: FDWS01.TEST.RESTORE) in one shot. Can we do that in one shot using a JCL. May be by using IEBGENER. It's a bit urgent. So anyone's fast rely would be appreciated.. Thanks in advance.. 10 flat files ----------------------------------- FDWS01.SUB.RESTORE1 FDWS01.SUB.RESTORE2 FDWS01.SUB.RESTORE3 ; ; FDWS01.SUB.RESTORE10 TO GDG versions ----------------------- FDWS01.TEST.RESTORE.G0001V00 FDWS01.TEST.RESTORE.G0002V00 FDWS01.TEST.RESTORE.G0003V00 ; ; FDWS01.TEST.RESTORE.G0010V00

2 Answers  


How many instream we can write in single jcl?

1 Answers  


Definition of COND parameter in JCL

5 Answers   TCS,


WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move

0 Answers  


List the different jcl statements that are not permitted in the procedures?

0 Answers  


Do we need to code DCB parameters when using DISP position as MOD?

1 Answers   Accenture,


Categories