How do you restart a PROC from a particular step?
Answers were Sorted based on User's Feedback
Answer / guest
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
| Is This Answer Correct ? | 44 Yes | 8 No |
Answer / 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 |
A dd statement consists of 4 fields. Name them?
What is the use of the utility DFSRRC00 in the JCL?
Can you execute a PROC from another PROC?
Suppose I have five jobs to do. But I want to hold one?
What is the function of job statement in jcl?
What is the difference between the positional and keyword parameters? Give examples.
What is the error in the following JCL statements : I) //step#three exec pgm=hkbc762 ii) //step#3 exec pgm = hkbc762 iii) //step#3 exec pgr = hkbc672
How to execute step2,step1, step3 if step1,2,3 are in order
If the COND parameter is specified in both the JOB and EXEC statements, which one will take precedence? If JOB takes priority and if all the conditions evaluate to false, then will the conditions on the EXEC step be evaluated next?
How would I code JCL to copy a gdg data set G001v00 and create a gdg Data set G001v01
I have a JCL with 10 steps, want to execute first 5 steps only, what are ways of doing it?is it possible to control through JOB card?
what is a cataloged procedure ?