i have 3 steps in my jcl, where i want to run only one step
at a time depending on the variable. How should i give the
condition statement... I have tried this with two steps
which is working but not able to add condn for the 3rd
step. can anyone help me... I want to know the cond stmt
which i can code in step 3 and step4, so that only either
step2 or step3 or step4 executes
Answers were Sorted based on User's Feedback
Answer / uday bhaskar
if we refer cond perameter with first step then we can
bypass the third and forth steps also
if you not refer then it will take return code of the above
step so if above step was bypass then all will bypas
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / anjui
We can achieve it through if then else statement in jcl
along with the instream proc.
| Is This Answer Correct ? | 4 Yes | 0 No |
i want to restart frm step 2, previously i coded cond parameter on step2 wht happens at tht time ?
what is a null indicator in db2?
Where & How Do You Code Identifier In Jcl?
A file has dta in S9(09) COMP format. How do I move the data into a character field X(10)?
how to execute the last 5 steps in jcl
how will be submit 1 jcl by other jcl? means that how 'll submit one job by other job??
Is stepname is a MUST and should be unique also for each JOBSTEP ? or system can supply the stepname for a step which is not given a name by the programmer ?
how to resolve soc-7 ? please tell me
i have 5 steps to execute in that i want to skip 3nd step and start execute from forth step how can u do this.
What does S0C4 error mean?
wht is sysudump n sysout,sysprint ?
how to do automated restart when a job abends?