I have 5 steps in my jcl ,I need to execute first three
steps and then 2nd step again ,4th and 5th steps if rc of
2nd step is zero
Answer Posted / ajay digule
STEP01
STEP02 RC=0
STEP03 COND(4,LT,STEP02) CONDITION IS FALSE HENCE, STEP 3 WILL BE EXECUTED.
ON STEP04 AND STEP05 NO NEED TO MENTION CON CODE AS THEY WILL EXECUTE NORMALLY.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
how do you code a null statement?
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
For what purpose steplib and joblib are used ?
how you will the direct the data to spool using sysout option?
Explain the function of //cntl statement?
What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?
Explain the jcl exec statement?
Is condition checking possible in jcl?
Are there any set of rules for the names of the steps used in a job?
what is “Cond= even” and “Cond=only”?
How does the jcl specify the job to os?
In sms datasets, what is the function of the dd mgmtclas keyword?
Is their any set of rules for dd? Explain.
What is the purpose of disp parameter?
How can return codes be tested before execution of a job step?