Ques: How can we code COND parameter in a JCL so that only
even steps (or only odd steps) get execute??
Answers were Sorted based on User's Feedback
Answer / muttaiah
I think in this way you can achieve your requirement.
For ODD steps:
Code cond=(0,LE) or cond=(4096, GT) on all Even steps.
For Even steps:
Give restart=step2 in job card,
Code cond=(0,LE) or cond=(4096, GT) on all Odd steps.
The reason why we are using cond=(0,le) or (4096,GT) is
The cond parameter work's in such a way that if the the
condition is true it will bypass the step on which it is
coded.
here (0,le) or (4096,Gt) is always true so the steps will
bypass(won't execute).
@All: Do correct me if i'm wrong.
Is This Answer Correct ? | 26 Yes | 4 No |
Answer / muttaiah
Thanks much vinodh, The person's who mentioned as "No" can
you people give an explanation why is it so?
Because i want to know whether what i told is correct or
not.
From my perspective whatever i told is 100% damn correct.
Is This Answer Correct ? | 1 Yes | 0 No |
How can a job send a status message to a tso user at the completion of a job?
what is static and dynamic call with examples?
Explain how can an in-stream dataset be terminated?
i have step1,step2,step3 from where can i start coding cond parameter ?
How to copy one PS file to multiple PS files with same data?
what is a MODELDSCB?
what are the options in file-aid to edit vsam dataset and to compare data sets.
which utility is used a dummy utility?
How Can we see all generations of a GDG ?
How can an in-stream dataset be terminated?
hi friends........if u know syntax of IEBEDIT IN JCL
whats the diff bw the evaluate also and and?