Automatic interventions, such as rerunning a job or ordering a remedial job, if a job ends with a particular error code.
Control-M processes On/Do Actions combinations in the following order:
ON "*" "COMPSTAT>0"
ON "*cp aaa bbb*" "*not found*"
ON "*" "NOTOK"
On Parameters
Parameter |
Description |
---|---|
Job ended |
Determines whether the accompanying DO statements are performed if the job ended. |
Job ended OK |
Determines whether the accompanying DO statements are performed if the job ended OK. |
Job ended not OK |
Determines whether the accompanying DO statements are performed if the job ended not OK. |
Determines whether the accompanying DO statements are performed if the OS completion status is met.
|
|
Determines whether the accompanying DO statements are performed if the job's number of executions is met.
|
|
Determines whether the accompanying DO statements are performed if the job's number of reruns due to DO RERUN, is met. For more information, see Rerun Job.
|
|
Output cannot be found |
Determines whether the accompanying DO statements are performed if the Output cannot be found. |
Job has not been submitted yet |
Determines whether the accompanying DO statements are performed if the job is submitted to the Control-M/Agent to run, but returns as not submitted. |
Determines whether the accompanying DO statements are performed if the job's number of failures is satisfied. |
|
The On parameters for a specific statement output requires the following:
|
Do Actions
Parameter |
Description |
---|---|
The Set Variable assigns a value to a variable for use in a rerun of the job when the On Statement/Code criteria are satisfied. |
|
The Add/Remove Condition parameter specifies a prerequisite condition to be added or deleted when the On Statement/Code criteria are satisfied. |
|
The Order Job parameter forces an individual job or all jobs in a folder to be placed in the Active Jobs file (regardless of each job’s Scheduling criteria) when the On Statement/Code criteria are satisfied. |
|
The Notify parameter specifies a notification to be sent a specific destination when the specified On Statement/Code criteria are satisfied. |
|
Assigns a completion status of NOTOK to a job when the On Statement/Code criteria are satisfied, regardless of the job’s actual completion status. |
|
Assigns the completion status of OK to a job, regardless of its actual completion status. |
|
Opens a ticket in the Remedy Help Desk. |
|
Indicates if an automatic rerun should be performed when the On Statement/Code criteria are satisfied. |
|
Invokes a Control‑M/Analyzer rule to be executed. |
|
A mail message that is sent to the indicated e-mail addresses when the condition specified by the On Statement/Code parameter is satisfied. |
|
Job steps to be executed during restart of a job. |
|
When specified, this parameter prevents subsequent iterations of the current cyclic job. |
|
Indicates how the job’s output should be handled when the On Statement and Code criteria are satisfied. |
Parent Topic |