Answer Posted / vivek kumar
In job card, specify RESTART=PROCSTEP.STEPNAME where
PROCSTEP = name of the JCL step that invoked the PROC and
STEPNAME = name of the PROC step where you want execution to
start.
Eg. suppose a catalog proc having 5 steps.
//myproc proc
//step1 exec pgm=...
//step2 .......
//step3 .......
//step4 .......
//step5 .......
suppose i have restrat this proc from step3
so in the job statment i have mentioned
//NMNP2VT JOB ,'PM111-010',MSGCLASS=S,CLASS=Q,
RESTART = PRC010.STEP3
//JOBLIB DD DSN=......
//PRC010 EXEC PROC = myproc
//....
//......
| Is This Answer Correct ? | 22 Yes | 4 No |
Post New Answer View All Answers
If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?
What is the function of the dd dcb keyword?
write a jcl to execute a job by 7:00 am on jan 20,1986?
A dd statement consists of 4 fields. Name them?
What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
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 is use of restart and how to use it?
What is the function of a dd statement?
how JCL works?
What is the function of //jcllib statement?
Is it possible to define dd statements as you want?
Why block size is multiple of lrecl in jcl?
when can a job time-out occur? How to overcome that?
What is the function of the dd mgmtclas keyword in sms datasets?