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
Explain the function of //jcllib statement?
What is the maximum length of a single line of jcl?
Explain the function of dd name parameter with a 2 part structure; audit.report?
what is use of dsn parameter in dd statement?
What is one line to pass PARM from JCL to COBOL?
what are the types of abends that occur on job failure? And explain the possible causes of these
What do you understand by the term job time – out and how can you overcome that?
What is the function of job statement in jcl?
Is automatic restart possible in jcl?
Explain dfsort utility?
How to alter the parameters for the existing gdg?
Explain the function of //cntl statement?
what is the purpose of coding notify parameter in job statement?
Give the syntax of job specifying jcl statement.
what is a jcl?