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 |
if we are specifing joblib as well as steplib in job then at the time of execution how the process will complete
Can we find specific member without knowing the name of PDS or can we search a member to which PDS it belongs to? if so how?
there are 10 steps in jcl how to execute the steps from step2 to step8 only
wht is step lib n job lib ? where can we code joblib n steplib ?
What are the rules employed while naming the steps in a job?
What is the use of IEBGENER ?
Please give me the coding for converting VB to FB and FB to VB
how can you check if a file is empty using jcl?
how can handle the s0c4 abend???
What is Automatic Restart ? EXEC PGM = PROG1, RD = R (Is it the Restart of a JOBSTEP or Restarting the execution of the program?) Do we Restart it or it automatically Restarts executing again and again ? Then when it will finish executing ? or After Abending, when we submit it again, then it is Restarted from the Last successful Checkpoint ? If some JOBSTEP is abending, what is the benifit to Restart it, WILL IT NOT ABEND AGAIN if you don't change the LOGIC ?
WORKING-STORAGE SECTION. 1 GROUP-ITEM. 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50. 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP. PROCEDURE DIVISION. MOVE ZERO TO GROUP-ITEM. ADD 50 TO AMOUNT-1. DISPLAY AMOUNT-1. STOP RUN.
A job has 150 steps i want to execute only 57th step