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 do you know about jcl?
how you can direct the data to spool using SYSOUT option?
What is catelog procedure and how many catelog procedure to use in one job?
What happens if both JOBLIB & STEPLIB is specified ?
What is Cataloged Procedures?
What is the function of the steplib dd statement?
I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?
Suppose I have five jobs to do. But I want to hold one?
Are there any set of rules for the names of the steps used in a job?
What is the maximum length of a single line of jcl?
how can the same proc be re-used and called by many jobs?
What is the function of job statement in jcl?
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?
What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?
In sms datasets, what is the function of the dd avgrec keyword?