Re-execution of the RUN TASK

The RUN TASK step does not execute again if it is determined at restart that the RUN TASK step ended because it finished before the PNODE restarted the Process. However, if the RUN TASK program did not complete and is not currently running, then the RESTART parameter determines the restart of the Process.

Also, if at restart, IBM® Connect:Direct® cannot find the checkpoint record and the RUN TASK program is not executing, IBM Connect:Direct is unable to determine what action to take for the restart. If IBM Connect:Direct cannot determine what action to take for the restart, it uses the RESTART parameter. You can code the RESTART parameter on the RUN TASK step or in the initialization parameters.

Note: If you code the RESTART parameter on the RUN TASK step, it overrides the initialization parameter. When you code RESTART=YES, IBM Connect:Direct executes the program again. When you code RESTART=NO, the Process skips the RUN TASK step.

Search on Global Initialization Parameters in the IBM Connect:Direct for z/OS® Administration Guide for detailed information about the RUNTASK.RESTART initialization parameter.