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
Explain how can the disposition of sysout datasets be set for an entire jobstream?
In sms datasets, what is the function of the dd avgrec keyword?
Can we call instream to catalog and catalog to instream?
what is use of disp parameter in dd statement?
How to override loadlib?
what are the types of abends that occur on job failure? And explain the possible causes of these
what operation is performed by job statement?
a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?
How can a jobs execution priority be modified?
Differentiate between the joblib and the steplib statements?
How to run cobol program using jcl?
when does a dataset go uncataloged?
//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*
what happens in execution stage in job processing?
What happens if both JOBLIB & STEPLIB is specified ?