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 is the use of temporary files?
How do you submit a JCL under CICS environment ?
what is use of dsn parameter in dd statement?
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?
What is the parameter to be passed in the job card for the unlimited time , irrespective of the job class ?
How to identify in JCL that an input file is empty without reading it?
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
How many instream we can write in single jcl?
Definition of COND parameter in JCL
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
List the different jcl statements that are not permitted in the procedures?
Do we need to code DCB parameters when using DISP position as MOD?