Page 1 of 1

Controlling Control M jobs via command line

Posted: 11 Sep 2014 6:00
by reshadat
Hi All,

I have a testing environment where I use Control M EM to force/order/run unix jobs. Below are the steps I perform while executing a job:

1. Order/Force a job from a given table
2. Hold the job
3. Remove resources
4. Remove IN conditions
5. Free the job


Now I want to perform these steps programmatically, via command line tools. I know I can perform step 1,2,4 and 5 via cli, but I cannot find any documentation to remove resources from a job as well (while ordering and the job is on hold)

I may also need to remove/adjust execution window/time.

Please let me know which utility to use in this scenario

I am using Control M EM v7.0

Re: Controlling Control M jobs via command line

Posted: 15 Sep 2014 2:16
by philhaut
hi
use
ecaqrtab update ressource-name 0

Re: Controlling Control M jobs via command line

Posted: 15 Sep 2014 5:08
by reshadat
philhaut wrote:hi
use
ecaqrtab update ressource-name 0
Thank you. However, I found that I can do all those operations by bypassing "pre-processing" via Control M EM GUI. NOw I want to do the same via some utility.

Please guide.

Thank you

Re: Controlling Control M jobs via command line

Posted: 19 Sep 2014 9:02
by anirudhrh
how about using ctmpsm