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 |
Explain the purpose of dd dummy statement?
What is a GDG
Can we give two user name in NOTIFY parameter in JOBCARD
Can there be 2 job statements in a JCL? If yes what is the purpose of doing tha?
What does S0C4 error mean?
Whats error code s222?
Describe the DD statement, its meaning, syntax and keywords?
How to do automated restart when a job abend?
what is the function of spool command?
We are aware of eliminating the duplicate records from outyput fiel using sort utility. Can we get the duplicate records in to another file in the Same sort utility?
What is the function of a dd statement?
What does the TIME parameter signify ? What does TIME=1440 mean ?