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 job statement in jcl?
When output dataset space is required, what quantity categories are used?
What is the function of the dd avgrec keyword in sms datasets?
What is the use of disp parameter?
What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?
Describe the various parameters utilized in the creation of a gdg?
what is DD statement is used in JCL?
What is the function of the steplib dd statement?
is there any way to execute more than one proc in the same exec statement at the same time..?
Explain about LMFREE�free data set from its association with data ID
List the different components of jcl statement?
How to submit jcl through a cobol program?
what is use of disp parameter in dd statement?
How is a type of file defined in the jcl that executes the cobol program?
Is it possible to define dd statements as you want?