I have a JCL which 20 steps. How do I execute 17 th step
alone (It should execute only 17ths tep.and it should not
execute 18,19,20 steps??
Answer Posted / pradeep
There is a better way of doing it as given below:
//STEP001 EXEC PGM=IEBEDIT
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=XXX.GENERAL.STUDY(TEST001),DISP=SHR
//SYSUT2 DD SYSOUT=(A,INTRDR)
//SYSIN DD *
EDIT TYPE=INCLUDE,STEPNAME=(STEP0017)
/*
Here, I have used the utility, IEBEDIT to execute only the
required step. You can also, given the syntax,
EDIT TYPE=INCLUDE,STEPNAME=(STEP0017,STEP0021,STEP0099) to
execute the reqd steps only.
Similarly, we can use TYPE=EXCLUDE to exclude the steps
from exec.
Is This Answer Correct ? | 41 Yes | 4 No |
Post New Answer View All Answers
State the uses of syspring, sysin, sort fields, sum fields and dummy.
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
How does jcl act on code(if you take a cobol program)?
Suppose I have five jobs to do. But I want to hold one?
How do you overcome this limitation ?
In sms datasets, what is the function of the dd mgmtclas keyword?
how you will the direct the data to spool using sysout option?
What are the difference between jcl and jes?
I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one
What is the function of dd disp parameter?
Explain the jcl exec statement?
List the different jcl statements that are not permitted in the procedures?
Explain how can an in-stream dataset be terminated?
What is the motivation behind coding class parameter in job statement?
What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?