I have a JCL with 10 steps, want to execute first 5 steps
only, what are ways of doing it?is it possible to control
through JOB card?
Answer Posted / zos13
One more Answer:
If you are good with IDCAMS, then in step5 or (add 1 more step
With name step5r after step 5 and before step6) supply
//step5r exec pgm=IDCAMS
//sysin dd *
SET MAXCC = 16
/*
in Job card, use : COND=(16,EQ).
It will execute till step5 successfully, at step5r it will acquire MAXCC=16, Condition in JOB card is true, all steps will be bypassed after5.
**If you can't create new STEP5r, then please use SYSIN DD * in step5, it is same thing*****
You may also use RC in place of MAXCC.
Please reply here if it works for you or at: thespider390@hotmail.com
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is condition checking in jcl? Is this possible?
List the different jcl statements that are not permitted in the procedures?
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
Explain dfsort utility?
what is use of dcb parameter in dd statement?
Is automatic restart possible in jcl? If yes, how?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
Differentiate between the joblib and the steplib statements?
Explain how can the submitting users racf authority be overridden in a job stream?
What is the use of disp parameter?
what is DD statement is used in JCL?
In sms datasets, what is the function of the dd mgmtclas keyword?
How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you
what is JCL?
Can we call instream to catalog and catalog to instream?