In a JCL if previous steps return code is greater than 0 or
4 then the next step will not execute. But the job will be
successfull with the maximum return code. How can we reset
this maximum return code to '0' regardless of return codes
of any steps?
Answers were Sorted based on User's Feedback
Answer / mf guy
Maximum Return code can be set with the help of SET verb.
SET MAXCC=0 at the abending step.
Thanks.
| Is This Answer Correct ? | 7 Yes | 3 No |
Answer / balmukund
You can not setup the MAXCC= 0 in next step if previous
steps returned the RC>0. I means to day it is impossible to
setup the RC with less number than MAXCC returned by
previuos steps.
Better to setup the MXXCC = 0 in previous step.
If any one think its possible please specify the code.
| Is This Answer Correct ? | 6 Yes | 4 No |
Answer / anju
If RC.stepname > 4
set maxxcc=0
End-if
Correct me if wrong.
| Is This Answer Correct ? | 5 Yes | 17 No |
if we compile the cobol+ db2 program now ofter 5 years we need to compile again?
Explain the function of the steplib dd statement?
there are 10 steps in jcl how to execute the steps from step2 to step8 only
What are the parameter in the job card wihtout which job won't run........
We have 100 steps in a procedure and we need to run the jcl and execute only 25th step in the proc and not the remaining steps. How can we do it?
5 Answers IBM, JPMorgan Chase,
//{name} INCLUDE MEMBER=memname {comments} in the include statement, what actually happens when its executed? The membername conatains a list of valid JCL statements, so will the include statement be substituted by these statements and how can we mention the pds that conatains the member? How does the include group differ from a PROC? how is include statement connected to JOBLIB and STEPLIB?
What will happen when we try to pass data from JCL to COBOL using PARM parameter without declaring the length field in Linkage Section?
What is Cataloged Procedures?
Where can program checkpoints be stored for use in a restart?
Can you code instream data in a PROC ?
what is the function of iebcompr?....is it compare record length or characteristics of a dataset?...pls explain with examples.......
i have 5 steps to execute in that i want to skip 3nd step and start execute from forth step how can u do this.