Controlling Control M jobs via command line

Everything about Control-M Enterprise Manager Server installation or setup.
Post Reply
reshadat
Nouveau
Nouveau
Posts: 2
Joined: 11 Sep 2014 5:48

Controlling Control M jobs via command line

Post by reshadat » 11 Sep 2014 6:00

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

User avatar
philhaut
Nouveau
Nouveau
Posts: 32
Joined: 06 Feb 2007 12:00
Location: VALENCIENNES

Re: Controlling Control M jobs via command line

Post by philhaut » 15 Sep 2014 2:16

hi
use
ecaqrtab update ressource-name 0

reshadat
Nouveau
Nouveau
Posts: 2
Joined: 11 Sep 2014 5:48

Re: Controlling Control M jobs via command line

Post by reshadat » 15 Sep 2014 5:08

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

User avatar
anirudhrh
Nouveau
Nouveau
Posts: 48
Joined: 21 Sep 2013 12:00

Re: Controlling Control M jobs via command line

Post by anirudhrh » 19 Sep 2014 9:02

how about using ctmpsm
Anirudh

Post Reply