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
in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?
what are JCLLIB and STEPLIB in JCL?
What is the motivation behind coding class parameter in job statement?
how would you create a temporary dataset? And where will you use them?
how can the same proc be re-used and called by many jobs?
what is the purpose of coding notify parameter in job statement?
What is the format of comment statement?
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
What is the maximum length of a single line of jcl?
What is notcat 2 - gs?
What is the function of //jcllib statement?
Must tape dataset definitions include vol=ser specifications?
Define concatenating?
In job processing, what happens in execution stage?
Explain how can a stopped job be started again?