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
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
what is a jcl?
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
How can the attributes of one sms dataset be copied to another dataset?
How to submit jcl through a cobol program?
What does a disposition of (MOD,DELETE,DELETE) mean ?
What are steplib and joblib?
Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You
Explain the function of the steplib dd statement?
What are the parameter we cannot use in procedure?
how can you check if a file is empty using jcl?
Explain the jcl exec statement?
Explain the purpose of dd * statement in jcl?
how you can direct the data to spool using SYSOUT option?
Define concatenating?