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 |
Does the terms, JOBLOG, SPOOL and SYSOUT indicate the same thing, i.e., where JCL and JES messages and statements are written ?
which are the parameters mandatory in job card ?
i want to see the jobs in skeleton queue in diff region. (eg. 7 regions are running means , i want to see all the jobs in 7 regions which are in skel queue using 1 command)
how to edit a tape dataset ? asked in wipro
Can we use DISP=SHR in output file in JCL
how would you create a temporary dataset? And where will you use them?
Is it possible to define dd statements as you want?
I have a PDS and want to omit few rows of all members of a PDS. How to do it?
What is the significance of addrspc parameter in exec statement?
How do you find which GDG is using which dataset?
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
Why include statement is used in a jcl?