Defining a Command Line Job Completion Verification Rule
This procedure describes how to define a Command Line job completion verification rule to your Execution operation, which enables you to verify that a job is completed. You can also select job completion verification when defining an Execution operation.
If you want to remove all content from the step or delete the step, from the Verify operation completion operation step, click and select the option you require.
Before you begin
Ensure that you select Verify operation completion.
Begin
-
Type the number of seconds in the Run this step every [n] seconds until the defined completion criteria below is satisfied.
-
Click
to add parameters.
-
In the Type field ensure that you select Command Line.
NOTE: To change the operation type, from the dropdown list select either Web Service or REST API.
-
In the Command Line field, type the command line operation you want to use. To define different intervals for different parameters, click
.
For more information about adding parameters to the command line see Defining a Parameter for Command Line.
-
To add Return Code Handling Rules, see Return Codes.
-
To add Output Handling rules, see Output Handling Rules.
-
If you want to attach content to job output do any of the following:
-
Attach command line details to the Control-M job output, select Append command to job output checkbox.
-
Attach command standard output to Control-M job output, select the Append command standard output to job output checkbox.
You can change job output content, from the toolbar, by clicking Job Output Options.
-
-
In the Tolerance area, you can select one or more of the following:
-
Retries in case of failure: Type the number of retries and then add parameters where required.
-
Timeout: Type the timeout for this operation in minutes.
Default values: 0. The first job failure causes the step to fail.
-