Rerunning an occurrence in the current plan from a specific operation
If an occurrence is still in the current plan, you
can rerun it from a particular operation if all external dependencies
for that occurrence are in READY
status (R, *, or
A). To do so, select the occurrence with the row command R on the MODIFYING OCCURRENCES IN THE CURRENT
PLAN panel (EQQMOCLL - Modifying
occurrences in the current plan). The RERUNNING AN OCCURRENCE IN THE CURRENT PLAN panel (EQQMROCL
- Rerunning an occurrence in the current plan) is displayed, where you can
specify which operation in the occurrence you want to restart from.
- Using the TABLE ROW COMMANDS panel (see EQQSRCLP - Table Row Commands panel )
- Selecting Rerun the occurrence from the Occurrence menu in the OPERATION IN THE CURRENT PLAN panel (see Occurrence).
When rerunning an occurrence, you can choose to restart the step or the job. To do this, you must select which step will be the restart point by using the S command on the RERUNNING AN OCCURRENCE IN THE CURRENT PLAN panel. The operation status of the restart point is then set to R (ready). From that step forward in the occurrence, the statuses of the operations are automatically modified to waiting. In cases where an operation changes from C (complete) status to either R (ready) or W (waiting) status, you must decide if cleanup actions on the data sets should be performed. When you request restart and cleanup actions and job log information is available, you can choose to restart the operation from a particular step. The scheduler automatically tailors and verifies the job for restart. Use the OPERATION RESTART AND CLEANUP panel (EQQRCLSE - Operation restart and cleanup) to initiate restart and cleanup actions.
For additional details about restart and cleanup actions at the job or step-level, see Handling operations that end in error.
If there are conditional or external dependencies defined on the operation, they are included on the LIST DEPENDENCY STATUS CHANGE panel (EQQMOSTL - List dependency status change) that is displayed automatically. From the RERUNNING AN OCCURRENCE IN THE CURRENT PLAN panel, you can modify the jobs of the dependent operations before HCL Workload Automation for Z resets them. The modified job is saved in the JCL repository when you exit and confirm the occurrence rerun. As in rerunning occurrences, the same procedures apply to dependencies.
You can use RERUN to reset dependent occurrences that have already completed. This can save you the trouble of adding the occurrences again if you need to rerun all or part of a business system and occurrences have not been planned out of the current plan. You select the point from which you must start the rerun and all successor dependencies are automatically set to waiting status.
The list includes both non-conditional and conditional dependencies.
- Normal dependencies on completed predecessors. This is the default behavior, however, you can configure the behavior so that dependencies are retained, even after they are resolved. Refer to the KEEPCOMPDEPS parameter in the BATCHOPT initialization statement documented in Customization and Tuning.
- Evaluated conditions, both true and false. Single condition dependencies are removed provided that the corresponding condition is not undefined.
- Modifies conditional predecessors to completed and conditional successors to waiting, as for standard dependencies.
- Sets to
True - Forced by rerun
the conditions on the conditional predecessors.It applies even if those conditions are on operations that are not involved in the rerun processing.
- Sets to
Undefined - Forced by rerun
the conditions on the conditional successors. Such conditions might include dependencies with different status values, for example a combination of all the possible status values: undefined because not evaluated yet, true, false, or undefined because of missing step-end information.
- 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 rerun. To see which operations have been set to HOLD or NOP, request a list of the operations using option 5.3.
- Rerunning an occurrence is a powerful request that
might reset the status of the job network including the restart point.
In particular, it is the only manual request that can reset the suppressed
by condition status.
Therefore consider using HOLD or NOP command for any impacted operation that is to be prevented from starting.
- 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.