Answer Posted / rajani mazumder
There are 3 ways to achieve the above task.
1) Using restart & Cond:
Code restart=step15,cond=(0,le)
2) using restart & Null stmt
restart=step15, Code a null stmt(//) after step15.
3) Using Iebedit
//jobcard
//stepname exec pgm=iebedit
//sysut1 dd dsn=actual pds/ps that has the jcl
//sysut2 dd sysout=(*,intrdr)
//sysin dd *
edit type=include,stepname=step15
/*
Using option 1 & 2 will require the jcl to be copied to ur
personal pds and edit the jcl and pass it on to Operation
team to restart the job with the override pds
using option3 we can directly send this jcl to run without
editing the actual jcl
best way would be create a iebedit jcl in ur program
whenever the job needs to run for particular steps change
the iebedit jcl and send it to the team who will run the job
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
What is the function of //cntl statement?
what are the types of abends that occur on job failure? And explain the possible causes of these
Are there any set of rules for the names of the steps used in a job?
what is use of dcb parameter in dd statement?
Explain how can the attributes of one sms dataset be copied to another dataset?
How to submit jcl through a cobol program?
Explain the function of dd name parameter with a 2 part structure; audit.report?
List the various advantages of using jcl language?
List in order the hierarchical levels of jcl?
In job processing, what happens in execution stage?
What is the syntax of JCL statement?
which utility is used to sort a file in jcl?
how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?
How can values be passed from the job stream to an executable program?
Can we call instream to catalog and catalog to instream?