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
Explain dfsort utility?
Can I send output of job to my remote device careerride123?
A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?
What is the format of comment statement?
what is use of disp parameter in dd statement?
what are the types of abends that occur on job failure? And explain the possible causes of these
what operation is performed by job statement?
what is DSN parameter and DISP parameter is used for?
Explain the jcl exec statement?
How to alter the parameters for the existing gdg?
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?
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?
What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?
how to run batch program without jcl?
Explain the function of job statement in jcl?