A job has 90 steps i want to execute only step7 and step15
Answer Posted / praveen bejjanki
In the jobcard, Give restart=step7, code cond=(0,le) from
step8 - step14, Give a null stmt(//) after step15. That's
it your requirement is met.
Simplest way:
There is an utility IEBEDIT which is used to execute only
few particular steps from 'n' steps in a jcl.
//JOBCARD
//STEPNAME EXEC PGM=IEBEDIT
//SYSUT1 DD DSN=MYPRGM.DSN,DISP=SHR
//SYSUT2 DD SYSOUT=(*,INTRDR)
//SYSIN DD *
EDIT TYPE=INCLUDE STEPNAME=(STEP7,STEP15)
/*
//
MYPRGM.DSN = The name of the dataset that has the actual
JCL.
Suggestions are kindly accepted.
Do correct me if i'm wrong.
Is This Answer Correct ? | 16 Yes | 0 No |
Post New Answer View All Answers
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?
Explain the purpose of dd dummy statement?
Explain the function of dd disp parameter?
what is the use of IEBGENER utility?
What are the difference between jcl and jes?
How to run cobol program using jcl?
Can I share my data with other jobs? How?
how to do automated restart when a job abends?
What is the maximum length of a single line of jcl?
How can unused space allocation be returned to the system when a dataset is closed?
In sms datasets, what is the function of the dd mgmtclas keyword?
in ways data can be passed to a COBOL program from JCL?
Must tape dataset definitions include vol=ser specifications?
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?