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 |
When will we need to specify Space parameter ?
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 Cataloged Procedures?
Explain about RECORDING MODE Clause
How much is memory space involved, when we code BLOCKSIZE,TRK & CYL ?
can u explain gdg with example wht happens if we give limit,empty,noempty,scartch and no scartch
GDGs can be CREATED (not COPIED) only on DASD and NOT on tape drives ? Is it True ?
What are the difference between jcl and jes?
Can I share my data with other jobs? How?
How to execute 300 steps in a Job?
What is the difference between sb37,se37,sd37 each?
What is the function of //cntl statement?