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 do you know about jcl?
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.
What is the motivation behind coding class parameter in job statement?
what is DSN parameter and DISP parameter is used for?
What is use of restart and how to use it?
what are the types of abends that occur on job failure? And explain the possible causes of these
What are steplib and joblib?
Define concatenating?
How to do automated restart when a job abend?
How can the submitting users racf authority be overridden in a job stream?
Is it possible to left uncode disp? If yes, how?
What parameter directs the output of the job log dataset?
which utility is used to sort a file in jcl?
what is use of dcb parameter in dd statement?
Explain how can the attributes of one sms dataset be copied to another dataset?