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 / satya sivaji.ch
//step17 exec COND=(4,GT)
This says that if any of the previous steps with return
code of greaterthan 4,then it wil bypass,if it less than
then execute it.
In condition parameter wat ever condition u specified
inside the condition parameter is true,then the step should
be bypassed.
Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
what is the difference between JES3 and JES2?
Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC
What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?
For what purpose steplib and joblib are used ?
Explain how can an in-stream dataset be terminated?
How to submit jcl through a cobol program?
What is the function of dd disp parameter?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
What are the utility programs in jcl?
What dd statement is used to supply the name of a dataset?
In sms datasets, what is the function of the dd avgrec keyword?
Where & How Do You Code Identifier In Jcl?
Why include statement is used in a jcl?
What are s0c1, s0c4, s0c5, s0c7 and socb?
How do you overcome this limitation ?