Job Waiting Notification

All questions about Control-M jobs definitions
Post Reply
User avatar
DocGoo
Nouveau
Nouveau
Posts: 73
Joined: 08 Sep 2010 12:00

Job Waiting Notification

Post by DocGoo » 23 May 2013 6:23

All,

If I have a job that is waiting for an IN CONDITION to be OK, how can I send a shout or email out to notify someone.

Thanks,

--Goo

User avatar
th_alejandro
Nouveau
Nouveau
Posts: 188
Joined: 26 Nov 2008 12:00
Location: Bogotá

Question

Post by th_alejandro » 23 May 2013 8:41

To notify what ?. that the job is waiting a condition ?

User avatar
DocGoo
Nouveau
Nouveau
Posts: 73
Joined: 08 Sep 2010 12:00

Post by DocGoo » 23 May 2013 8:44

Yes, the predecessor is a couple of days before this job is scheduled to run.

User avatar
th_alejandro
Nouveau
Nouveau
Posts: 188
Joined: 26 Nov 2008 12:00
Location: Bogotá

Use ctmpsm

Post by th_alejandro » 23 May 2013 8:51

You can use ctmpsm utility to detect the status of jobs. For example: ctmpsm -LISTALL | grep xxxxxxxx, change 'xxxxxxxx' with jobname that you want to search.

In this way, you can obtain from Control-M what is the status and general info for a specific jobname.

ctmpsm -LISTALL |grep JOB_AB*
ORDERID JOBNAME TYPE ODATE STATE STATUS FROMTIME UNTIL
-------- ----------------- ---- ------- ------- ------ -------- -----
0001rvmj JOB_ABC JOB 20130521 Post pro OK 2130
0001sam3 JOB_AB28 JOB 20130521 Wait Con

User avatar
claudio960
Nouveau
Nouveau
Posts: 3
Joined: 18 Sep 2006 12:00

Re: Job Waiting Notification

Post by claudio960 » 24 May 2013 7:33

DocGoo wrote:All,

If I have a job that is waiting for an IN CONDITION to be OK, how can I send a shout or email out to notify someone.

Thanks,

--Goo
use the post process action : When LATESUB time SHOUT TO .....

rgds

Post Reply