The following table lists the On actions:
Take into consideration that some options might not appear in your properties pane, if they were not specified in the User View you applied. Use Control-M rules if the parameter rules were not specified by the Site Standard.
On action |
Description |
Control-M rules |
---|---|---|
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. |
|
OS completion status |
Determines whether the accompanying DO statements are performed if the OS completion status is met. |
Options
Completion Code: The number of the code returned by the operating system. |
Job's number of executions |
Determines whether the accompanying DO statements are performed if the Job's number of executions is met. |
Options:
Number of executions: The number of executions for the action to take place. |
Job's number of reruns |
Determines whether the accompanying DO statements are performed if the Job's number of reruns due to DO RERUN, is met. |
Operator:
Number of reruns: The number of reruns for the action to take place. |
Output cannot be found |
Determines whether the accompanying DO statements are performed if the Output cannot be found. |
|
Job has not been submitted |
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. |
|
Job's number of failures |
Determines whether the accompanying DO statements are performed if the Job's number of failures is satisfied. |
Operator: = (equal) Number of failures: The number of failures for the action to take place. |
Specific statement output |
The On parameters for a specific statement output requires the following:
|
Statement: A character string, from 1 through 132 characters in length, containing a statement from the Job script file. The specified string can be a portion of the statement. Statement character strings can each contain mask characters. Valid mask characters are:
Code: A character string, from 1 through 255 characters in length, to be compared to the operating system’s response to the specified statement. Code character strings can each contain mask characters. Valid mask characters are:
|
Any programs step |
Indicates that the DO statements must be performed if the specified codes are found in any program step. |
Procedure:
|
Every program step |
Indicates that the value is used without being accompanied by limiting step values when the code criteria are satisfied for every step. The code criteria are satisfied for every step in the Job without exception. |
Procedure:
|
Specific step name |
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. |
Procedure:
Program:
|
Specific range name |
(z/OS only) Specifies a range of steps in the steps of an Any program step statement.
|
Program:
|
JOBRC |
(z/OS only) Assign a completion code for the entire Job based on the completion codes of its steps. |
|
Output Pattern |
(z/OS only) Indicates that the DO statements must be performed if the specified pattern is found in the output. |
Pattern length:
From Col length:
To Col length:
|
Parent Topic |