Defining an Execution Command Line Operation Step
This procedure describes how to define an Execution command line operation step.
After completing Execution operation steps you can validate, test and then deploy the job type. For more information about deployment, see Job Type Deployment.
Begin
-
Do the following:
-
In the Name field, type the name of the operation step.
-
(Optional) In the Description field type a description for the step which helps you identify the Execution step.
-
-
To run the operation step based on a specific event, in the Events field, click
and from the drop-down list select the parameters, as described in Event Parameters.
By default, the operation step only runs if the previous step succeeded. If you want the operation step to run regardless of the result of the previous operation, delete the event by clicking
.
-
In the Type field, ensure that you select Command line.
-
In the Command Line field, type the command line script for the operation.
If you want to expand the Command Line field, click
and when finished, click Update.
-
Add a parameter by clicking
.
For more information about adding parameters, see Defining a Parameter for Command Line.
-
To define what happens when the job ends, in the Return Code Handling field, click
.
For more information about Return Code Handling rules, see Return Codes.
-
To define how output should be handled, in the Output Handling field, click
.
For more information about Output Handling rules, see Output Handling Rules.
-
If you want to add job completion verification select the Verify operation completion checkbox.
For more information, see Defining a Command Line Job Completion Verification Rule.
-
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 standard output to Control-M job output, select the Append command standard output to job output checkbox and then do the following:
-
If you want to filter the output, select the Use filter checkbox.
-
From the dropdown list, select one of the options and then type the value.
You can change job output content for your job type, from the toolbar by clicking Job Output Options.
-
-
-
To define how the job runs in the Monitoring domain, from the Execution operation step, click
and select Runtime information capture.
For more information, see Defining a Command Line Runtime Data Rule.
-
To define how to stop the job manually, from the Execution operation step, click
and select Manual abort operation.
For more information, see Defining a Command Line Manual Abort Operation Rule.
You can also duplicate, clear content, add or delete a step. If you have created more than one Execution operation step, you can move the priority by clicking Move up or Move down.