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 |
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 ?
What is DYNAMBR in jcl?
How can I write the joblog in the spool on normal end of a job step and direct the joblog to a dataset only if the step abends?
How do you skip a particular step in a proc/JOB?
What is a Proc ? why do we go for a Proc ? What are the types of procs?Can we have nesting in Procs ?
How to submit multiple jobs. These jobs are members in PDS. The second job should run if the first job runs successfully and so on.
I have a job (4 steps) with time parameter coded in job & exec, say time=10 in job & time =3,2,2,4 in each steps. Will the job executes successfully?
What is the difference between these two parameters? -> accounting information -> class how would it bring the differrence to a program?
Explain dd statement in jcl?
hi in one of the interview one asked me how to submit a job from cobol?as well as how to submit a jcl from CICS? can u pls any one tell me..
i have a jcl containing header body and trailer .in header i have viswa body 2 6 1 9 7 trailer reddy .now i need to sort only body in either asecending or descending order how can i do it
A maximum of 100 chars can be passed to Cobol through Parm in JCL, If we want to pass more than 100 Chars how we can do it ?