Restarting an occurrence from the beginning
The LIST option of the modify current plan panel takes you to the MODIFYING OCCURRENCES IN THE CURRENT PLAN panel:
To restart an application occurrence from the beginning,
enter W in the row command field for the occurrence.
After you confirm the request, HCL Workload Automation for Z resets
the status of all operations in the occurrence to W (waiting). All
operations (whose predecessors have completed) are then automatically
resubmitted if all other criteria for submission are fulfilled. In
this process, all external and conditional successors
that have a status of ready are reset to W (waiting) status. If they are conditional successors, the scheduler might
reset the related conditions to undefined, meaning
that:
- Single dependencies in existing conditions are reset to undefined.
- Each condition is reset to undefined depending on the specified rule.
If an external or conditional successor has started, however, the request to restart is rejected, and an error message is displayed. If this happens, consider deleting the external successor dependency and then reset the occurrence to waiting status. See Changing dependencies to an operation for details on how to delete dependencies.
Note: If you are using the advanced
panels, you can rerun
an occurrence from either the Table Row Commands panel (see EQQSRCLP - Table Row Commands panel) or
from the Occurrence menu of the OPERATION IN THE CURRENT PLAN panel
(see Occurrence).
If you want to reset the status of successors as well, you need
RERUN instead of SET TO WAITING. See Rerunning an occurrence in the current plan from a specific operation.
Note:
- Row commands are usually executed immediately. Thus, if you cancel the rerun against which you have issued a NOP command, the operation remains removed (no-oped), because the NOP command has already been processed.
- If at some point an operation was set to HOLD or NOP, the HOLD or NOP status will stay in effect when the occurrence is set to waiting. To see which operations have been set to HOLD or NOP, request a list of the operations using option 5.3.
- You might need to HOLD or NOP operations that will be reset by the command.
- When an operation is rerun, HCL Workload Automation for Z uses the job that was last submitted for the operation.
- Same restrictions apply as for changing the operation status to ready by selecting option 6 (GENERAL) from the MODIFYING AN OPERATION IN THE CURRENT PLAN panel. In particular, a step or job restart request might imply a request to change to ready the status of an operation with conditional successors already started, completed, suppressed by condition, or ended in error. In this case the scheduler issues message EQQM208E. Only when rerunning an occurrence you might indirectly obtain this kind of change.