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
which utility is used to sort a file in jcl?
i want to store 20 digits . how will u do it in cobol ?
What do you understand by the term job time – out and how can you overcome that?
What is the syntax of JCL statement?
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
in ways data can be passed to a COBOL program from JCL?
What is the use of disp parameter?
List in order the hierarchical levels of jcl?
How gdg are concatenated?
Explain about LMFREE�free data set from its association with data ID
Is automatic restart possible in jcl? If yes, how?
is there any way to execute more than one proc in the same exec statement at the same time..?
Differentiate between addressing mode and run mode.
what is “Cond= even” and “Cond=only”?
Explain the purpose of dd dummy statement?