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
What is use of restart and how to use it?
How can the submitting users racf authority be overridden in a job stream?
I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?
What statement can be used to send data to another mvs jes3 node?
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?
how you can direct the data to spool using SYSOUT option?
Differentiate between addressing mode and run mode.
What is NOTCAT ?
What is the function of a 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?
What are steplib and joblib?
Explain the function of dd name parameter with a 2 part structure; audit.report?
Which dd parameters are required?
Define concatenating?
How jcl is used for testing batch programs?