Interview Questions   Tutorials   Discussions   Programs   

JCL - If there are five steps in a JCL I have to execute the 3rd step, bypass the 4th step and execute the 5th step how do I do this?




784
views
asked mar December 4, 2014 02:21 AM  

If there are five steps in a JCL I have to execute the 3rd step, bypass the 4th step and execute the 5th step how do I do this?


           

1 Answers



 
answered By   0  

you can do this by using COND

//jobname positional parms,keyword parms,.... Restart=step3 //.. //.. //.. //step3 exec=xxxx //... //step4 exec=yyyy,cond=(0,Le,step3) //.. //step5 exec=zzzz //...

Here step1 and step2 are omitted bcoz of restart, lets say step3 returns 0 or 8 then in step4 condition is 0 <= 0 or 8 which is true and hence it is bypassed.Then step5 is excuted

flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert