What are the steps to run Control-M reports from command line using Control-M Automation API? |
Step 1:
Control-M Automation CLI must be installed on the host where the API report command will be executed.
By default Control-M/Agent includes CLI. If the report is run on an Agent host or via a Control-M job, no additional steps are needed for using CLI. If the report command will be executed where no Control-M/Agent is installed, follow the steps in the Control-M Automation API documentation below to install a local CLI Control-M Automation API CLI NOTE: See the below Bulletin for information regarding Operating Systems where CLI support has ended on specific Linux platforms Control-M Automation API CLI on Specific Linux Platforms End of Support Verify that on the host where the report will be executed that the user executing the report has the correct API environment defined with the Environment Service. To run the report from a Control-M job:
Verify that the Run As user is defined in the CCM or Web Configuration (when needed) Linux/Unix: Verify that the Run As user is either the Control-M/Agent user, or if another user that it has CLI installed. Windows: Verify that the Agent is configured with the "Login as User" parameter set to Y, and that this user can manually run the report This information is summarized in the following video: Additional Information: |