I have 20 steps in a job... step01, 02....step17...step20.
For some reason I want to execute step17 only if the return
code for all the previous steps are less than or equal to 4.
otherwise if return code for any of the previous 16 steps
is greater than 4, then step17 should be bypassed. How do I
do that ?? how and in which step should i formulate COND
parameter
Answer Posted / shesha
COND paramater should be in the step17 only
//step17 exec ......COND=(4,LT)
This condition will skip step17 when the return code is
lessthan or equal to 4 of all the previous steps.
(do not give any step name in cond)
| Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
write a jcl to execute a job by 7:00 am on jan 20,1986?
What are the difference between jcl and jes?
In job processing, what happens in execution stage?
Which statement is used to identify the private libraries in job?
Is condition checking possible in jcl? If yes, how?
What is one line to pass PARM from JCL to COBOL?
how would you create a temporary dataset? And where will you use them?
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
how can you check if a file is empty using jcl?
How can a fb file convert to vb file using sort program?
How to submit jcl through a cobol program?
What are s0c1, s0c4, s0c5, s0c7 and socb?
How do you create a temporary dataset?
Does jcl support automatic restart?
which parameter is use to declare the name of dataset in dd statement?