How to execute only th 15th step of JCL consisting of 50 steps?
Answer Posted / muttaiah
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
Hope this will give complete idea regarding restarting a
job.
Corrections are heartily welcomed.
| Is This Answer Correct ? | 12 Yes | 0 No |
Post New Answer View All Answers
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?
What is notcat 2 - gs?
Is their any limit for data sets?
In sms datasets, what is the function of the dd avgrec keyword?
Suppose I have five jobs to do. But I want to hold one?
what are the statements that are not valid to be included in an include statement?
How does jcl act on code(if you take a cobol program)?
List the different jcl statements that are not permitted in the procedures?
WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375
What are the difference between jcl and jes?
What is the motivation behind coding class parameter in job statement?
Can we call instream to catalog and catalog to instream?
Explain about LMQUERY�give a dialog information about a data set
Explain how can the attributes of one sms dataset be copied to another dataset?
Explain how can a jobs execution priority be modified?