How do you restart a PROC from a particular step?

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


Please Help Members By Posting Answers For Below Questions

Explain about ISPF/TSO Commands

1313


which parameter is use to declare the name of dataset in dd statement?

737


Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?

720


How to run cobol program using jcl?

651


A dd statement consists of 4 fields. Name them?

932






how to compare two datasets without using superce because output is limited to 133 bytes

1483


Must tape dataset definitions include vol=ser specifications?

983


Differentiate between the joblib and the steplib statements?

859


How can a jobs execution priority be modified?

799


Explain the jcl exec statement?

649


Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?

672


What do you understand by the terms: joblib and steplib?

626


How jcl is used for testing batch programs?

721


What is multithreading in jcl?

940


Explain the purpose of dd * statement in jcl?

643