Previous Topic

Next Topic

Book Contents

Book Index

§Restart§ Using All Runs of a Job Including Restarts

When processing ON PGMST blocks, Control-M can incorporate the results of all previous runs and restarts, filtering them for jobs restarted with the RESTART, RECAPTURE CONDITION, and ABEND CODES parameters. Control-M/Restart searches previous runs to determine which steps must be considered part of the restarted job.

For example, if one step finished successfully during its original run and another step finished successfully after a restart, the ON block check for the successful finish for both steps produces a TRUE result and the ON statement is satisfied.

Activation of this facility requires that the ALLRUNS parameter in the CTRPARM member be set to YES. When activated, this facility can apply to any specified step, step range, or to the ON PGMST step value +EVERY. §Restart§

Note: Post-processing of ON PGMST statements during a RESTART or RERUN is independent of the post-processing of the same ON PGMST statements during the earlier run. In these situations, you may get duplicate actions.

Parent Topic

ON PGMST: Post–Processing Parameter