How to Restart PROC Step in JCL Best Example

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 a pretty good idea on COND and Restart:

Source: IBM


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 the JCL COND parameter.

Author: Srini

Experienced software developer. Skills in Development, Coding, Testing and Debugging. Good Data analytic skills (Data Warehousing and BI). Also skills in Mainframe.

Comments are closed.