The following table describes the On Actions parameters when adding On/Do Actions in Job Properties.
Parameter |
Description |
---|---|
Job ended not OK |
Determines whether the accompanying DO statements are performed if the job ended not OK. |
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. |
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. This can occur in the following cases:
|
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:
|
|
Variable value |
Performs the defined Actions if the logical condition defined on the variable value returns True. Rules: Variable name: Local, Folder, or Global, as described in Variables. (Characters: 1-128, (z/OS 1-64)). NOTE: (z/OS only) If you are using a Global variable you must include a \, such as \MYVAR. Operator: The Operator determines the relationship between the variable and the value. There are two kinds of operator types, integer operator (numeric values) or string operator (string values). Depending on the operator type selected, you might need to provide one value, either number or string, or two values, such as a Min and Max range. Rules value: String:
Integer:
|
(z/OS only) Indicates that the Do Statements must be performed if the specified codes are found in any program step. However, if Any program step is specified with the codes Job Ended OK, Job Ended Not OK, Any type of execution error, Job out put was lost, Job was canceled during executing, Job failed due to security requirements, Job not submitted, or Unknown error occurred, the On criteria is satisfied only if the entire job ends with the specified code criteria. If Any program step is specified with the ORDER code, no other codes can be specified in the same On block, and the Procedure field must be left blank. |
|
(z/OS only) Indicates that the Do Statements must be performed if the specified codes are found in any program step. However, if Any program step is specified with the codes Job Ended OK, Job Ended Not OK, Any type of execution error, Job out put was lost, Job was canceled during executing, Job failed due to security requirements, Job not submitted, or Unknown error occurred, the On criteria is satisfied only if the entire job ends with the specified code criteria. If Any program step is specified with the ORDER code, no other codes can be specified in the same On block, and the Procedure field must be left blank. |
|
(z/OS only) Name of a specific procedure/program step. If a specific procedure/program step is specified, only program/procedure steps from the invoked procedure/program are checked to see if they satisfy the code criteria. Program/procedure steps directly from the job are not checked. |
|
(z/OS only) Assigns a completion code for the entire job based on the completion codes of its steps. |
|
(z/OS only) Indicates that the Do statements must be performed if the specified pattern is found in the output. |
|
(z/OS only) Specifies a range of steps in the steps of an PGMST statement. |
Parent Topic |