JCL-Restarting Proc Step

One of the important use of proc is we can reuse it. So, if we want to make any changes in the proc, we can make those by changing JCL.

Basic example gives pretty good idea on Cond and Restart:

Source: IBM

//JOB1      JOB…RESTART=JOBSTEP.PROCSTP2
//JOBSTEP   EXEC PROC=TEST,COND.PROCSTP4=(8,GT)

When we give Cond on Step, it validates with all previous Step Return codes.

Restarts Procstp2, and, cond parameter is overridden for Procstp4.

About these ads

About Srini

I am an experienced software developer. Skills in Development, Coding, Testing and Debugging. I have very good Data analytical skills (Data Warehousing and BI). I have also skills in Mainframe.
This entry was posted in Mainframe and tagged , . Bookmark the permalink.