JCL-Restarting Proc Step

JCL-Srinimf

JCL-Srinimf

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 overriding the parameters in the JCL.

The below 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 steps return codes.

The above piece of code will do – Restarts Procstp2, and, COND parameter is overridden for Procstp4.

Keep reading my all posts on JCL COND parameter.

About these ads

Have Something to Say? Post Your Comment

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s