1 of 1 people found this helpful
You need to install it before you use it. See Control-M Automation API Home - Documentation for Control-M Automation API 9.18 - BMC Documentation
Based on my experience, best is to install this on the Control-M/EM server. Install first the JAVA SDK, configure it, then install Node.js. Using Node.JS import the file ctm-cli.tgz . Once this is done you can run the command ctm.
If you want to run the reports in batch it is better to create an account (local to EM or a service account in AD) that have admin rights in Control-M. You can also create specific right for your account.
Because in version 9.0.18 the reports are saved on the EM , the report needs to be available to the user with which you want to execute it.
You can create separate environment for running reports in batch,
I hope this will be the answer you need.