How can I run a job on demand in Control-M

user1261620 picture user1261620 · Oct 17, 2014 · Viewed 8.5k times · Source

We would like to run a job in Control-M on demand from an external application without the use of a scheduler. Is there a Web Service or API that Control-M provides to accomplish this on a .Net application?

Answer

Justin picture Justin · Nov 13, 2014

There are a few utilities that are supplied with Control-M (command line tools).

These utilities are very helpful in the scenario that you mentioned here. One such utility that we use is 'ctmorder'. We should have a job in Control M database that these utility will be calling. Now depending on the requirement, you can pass the table name / job name / paramaeter to the control M server, and this would trigger the respective job in control M.

Google can give you the path to the utilities documentation of Control-M ("Control-M utility_guide.pdf"). It's not like a plug n play. You will have to work around them a bit to use it.