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 / sankarikumar
step 17 wil execute only if cond is false so u can it as
//step17 .... cond=(4,gt) in 17th step
suppose if u give cond=(4,lt) then step 17 will not
execute it will just by pass if cond satisfies((i.e.)4,lt)
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
Explain how can a stopped job be started again?
define cond parameter in jcl?
How to run cobol program using jcl?
how to compare two datasets without using superce because output is limited to 133 bytes
what are the statements that are not valid to be included in an include statement?
What is the purpose of the dd keylen parameter?
Explain how can a jobs execution priority be modified?
What are the utility programs in jcl?
how you can access an uncataloged dataset in a JCL?
Is it possible to left uncode disp? If yes, how?
In sms datasets, what is the function of the dd avgrec keyword?
Matching Logic in Jcl not in cobol.Could any one please answer this question
What are steplib and joblib? What for they are used?
Explain the purpose of dd * statement in jcl?
What is use of restart and how to use it?