Rerunsucc
You must have rerun access to the job. You also need to enable plan data replication in the database. For more information, see Replicating plan data in the database.
Syntax
rerunsucc jobselect [;internal][;all]
Arguments
- jobselect
- See Selecting jobs in commands.
- ;internal
- Specifies that all successors of the failed job (parent job) in the same job stream must be rerun. Any successors in external job streams are not rerun.
- ;all
- Specifies that all successors of the failed job (parent job) both in the same job stream and in external job streams must be rerun.
Comments
If you enter the command without any options, a list of the internal and external successors with the related status is returned. A message is displayed asking to confirm whether you want to rerun only the internal successors or both the internal and external successors.
If the user running the command is not authorized to see and rerun all the successors of the failed job, the list being displayed contains only the successors he is allowed to see. An error message is displayed, stating there are some additional successors he is not authorized to see or run.
The maximum number of successor jobs that can be returned is 1,000. To
change this value, edit the com.hcl.tws.conn.plan.rerun.successors.maxjobs property in the
TWSConfig.properties file, located in TWA_DATA_DIR/usr/servers/engineServer/resources/properties/TWSConfig.properties
. To make this change
effective, restart the master domain manager. When you
run the command, the parent job is returned in the list of successors, but it does not count towards
the total number of successor jobs listed. For example, if you set the
com.hcl.tws.conn.plan.rerun.successors.maxjobs property to ten, and the total number of
successors of your parent job is ten, a total of eleven jobs will be returned. This happens because
the parent job is also listed, because it is scheduled to be rerun with its successors.
The rerun action is always performed on the last rerun instance of the specified job. Also if you specify the job number of an intermediate job in the rerun sequence, the action is performed on the last job in the rerun sequence.
Status | Expected behavior |
---|---|
WAIT | An error is returned and the rerun operation is not performed |
INTRO | An error is returned and the rerun operation is not performed |
EXEC | An error is returned and the rerun operation is not performed |
EXTERNAL | An error is returned and the rerun operation is not performed |
ABENDP/SUCCP | An error is returned and the rerun operation is not performed |
READY | An error is returned and the rerun operation is not performed |
PEND | An error is returned and the rerun operation is not performed |
SUPPR (job stream) | An error is returned and the rerun operation is not performed |
HOLD | The predecessor of the job in HOLD status is rerun, but the rerun sequence stops at the job in HOLD status |
BOUND | The predecessor of the job in BOUND status is rerun, but the rerun sequence stops at the job in BOUND status |
FENCE | The predecessor of the job in FENCE status is rerun, but the rerun sequence stops at the job in FENCE status |
SUPPR (job) | The rerun operation is performed |
SUCC | The rerun operation is performed |
CANCEL | The rerun operation is performed |
Examples
Rerunsucc MDM94FP1#RequestInfo.UpdateData
Successors in the same job stream:
MDM94FP1#RequestInfo.UpdateFunction SUCC
SUCCMDM04FP1#RequestInfo.NotifyOfTheRequestReived SUCC
Successors to be rerun in another job stream:
MDM94FP1#BatchProcessing.UpdateFunction SUCC
MDM94FP1#BatchProcessing.EvaluateRisk SUCC
….
MDM94FP1#ReportProcessing.RunReport SUCC
Do you want to run all successors, both internal and external? Y
Rerunsucc MDM94FP1#RequestInfo.UpdateData;internal
Successors in the same job stream:
MDM94FP1#RequestInfo.UpdateFunction SUCC
MDM04FP1#RequestInfo.NotifyOfTheRequestReceived SUCC
………
Rerunsucc MDM94FP1#RequestInfo.UpdateData;all
MDM94FP1#RequestInfo.UpdateFunction SUCC
MDM04FP1#RequestInfo.NotifyOfTheRequestReceived SUCC
MDM94FP1#BatchProcessing.UpdateFunction SUCC
MDM94FP1#BatchProcessing.EvaluateRisk SUCC
MDM94FP1#ReportProcessing.RunReport SUCC
…..
………
See also
- In the Welcome page, select Monitor your workload, or in the navigation bar at the top of the page, click .
- Select an engine.
- In Object Type, select Job.
- From the Query drop-down list, select All Jobs in plan or another task to monitor jobs.
- Click Run to run the monitoring task.
- From the table containing the list of jobs, select a job and click More Actions > Rerun with successors.... A dialog is displayed listing all successors, both internal and external in two separate tables. In the dialog you can choose whether you want to rerun all successors in the same job stream or all successors both in the same job stream and in any other job streams.