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
How can the attributes of one sms dataset be copied to another dataset?
How would you understand error(execution phase)?
How does jcl act on code(if you take a cobol program)?
whats the diff bw the evaluate also and and?
What is the syntax of JCL statement?
I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?
is there any way to execute more than one proc in the same exec statement at the same time..?
What are the utility programs in jcl?
What are the parameters that are used in creating a gdg?
what happens in conversion stage in job processing?
What parameter directs the output of the job log dataset?
Is their any set of rules for dd? Explain.
How can unused space allocation be returned to the system when a dataset is closed?
What is job control language?
what is the resolution for sb37 error