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
which utility is used to run a cobol-db2 program?
Is there any command to check wether the ps file is in sorted order?
What is the format of comment statement?
What is use of restart and how to use it?
Are there any set of rules for the names of the steps used in a job? What are they?
Must tape dataset definitions include vol=ser specifications?
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
In sms datasets, what is the function of the dd mgmtclas keyword?
When space is allocated for an output dataset, what units can be used?
Explain the function of //cntl statement?
What parameter of the job statement is used to limit the cpu time consumed by the job?
What is Cataloged Procedures?
Is acct parameter mandatory?
List the different components of jcl statement?
what operation is performed by job statement?