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
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?
Explain how can values be passed from the job stream to an executable program?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?
what is JCL?
What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?
What happens if both JOBLIB & STEPLIB is specified ?
whats the diff bw the evaluate also and and?
Explain in DD statement what is the use of DCB parameter?
How to pass the parameter in parm using linkage section ? (syntax)?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
which utility is used a dummy utility?
Explain the function of //jcllib statement?
Why include statement is used in a jcl?
Is automatic restart possible in jcl? If yes, how?