Search found 14 matches

by meshearer
11 Aug 2014 4:27
Forum: Control-M Server
Topic: Send shout to a powershell script.
Replies: 1
Views: 6451

Re: Send shout to a powershell script.

I have resolved the issue. I am posting the steps I had to take to get the shouts to the powershell script to work: 1. Set the value of shout destination in the shout table as follows: [tab=30]powershell C:\<location of script>\<script name>.ps1 2. Account for the sending of the "HostID" and "Urgenc...
by meshearer
05 Aug 2014 11:41
Forum: Control-M Server
Topic: Send shout to a powershell script.
Replies: 1
Views: 6451

Send shout to a powershell script.

Does anyone have experience with defining a shout destination as a powershell script? We are currently upgrading to version 8 and migrating the server from Solaris to Windows. I have custom KORN shell scripts on my server that execute when a job sends a shout to the corresponding entry defined in th...
by meshearer
15 Aug 2012 8:43
Forum: Control-M Enterprise Manager
Topic: How is Total Jobs Count Derrived in EM Gui?
Replies: 6
Views: 11087

Hello All, To provide me with a daily list of the Control-M tasks I created a BMC job that runs right before new day and executes the following command on the Control-M/Server: ctmdbcount | grep "CMR_AJF table" | mailx -s "The count of production BMC tasks" <email_address> The body of the email I re...
by meshearer
28 Jun 2012 5:24
Forum: Control-M Agents
Topic: Duplicate Job being submitted???
Replies: 1
Views: 5635

I had a similar problem. The problem occurred when I wanted to move a current job to a new application->group using drag and drop in contolm desktop with the scheduling table locked. Instead of moving the job to the new application->group controlm would make a copy of the job, keeping the original j...
by meshearer
08 Jun 2012 5:43
Forum: Job Definition
Topic: Job Documentation
Replies: 5
Views: 8490

At one point we looked at Alarmpoint (which is now xmatters). They are a BMC partner. Their web site is:

http://www.xmatters.com/products/it-management/
by meshearer
03 May 2012 5:38
Forum: Job Definition
Topic: Job Scheduling
Replies: 2
Views: 3203

To schedule a job to run on the 1st monday of every month configure the "Scheduling" tab as follows. 1. Select the 1st 7 days in the "Month Days" section (1,2,3,4,5,6,7) 2. Select "Mon" in the "Week Days" section. 3. Select "And" 3. Select all months in the "Months" section. To verify the job's sche...
by meshearer
22 Mar 2012 9:01
Forum: Job Definition
Topic: Forcing OK a job from another job
Replies: 6
Views: 8365

sjnbilko,

To get the order id of Job B you could use this command:

ctmpsm -listall allfields |grep <job_name> | awk '{print $1}'

Hope this helps.
by meshearer
22 Mar 2012 8:30
Forum: Job Definition
Topic: Forcing OK a job from another job
Replies: 6
Views: 8365

Ignore my earlier post, I was assuming that Job B was already executing. My solution was for two filewatches looking for the same file to be created on different servers.
by meshearer
22 Mar 2012 3:45
Forum: Job Definition
Topic: Forcing OK a job from another job
Replies: 6
Views: 8365

I currently do this very task with a shout to a script I created called "killjob.sh": When job A finishes, it sends a shout to destination "Kill_job". The message of the shout contains the name of job B. In the steps panel of job B I added the following lines: On Statement Stmt=* Code= COMPSTAT=143 ...
by meshearer
17 Aug 2011 7:41
Forum: Control-M Agents
Topic: Job Status Delay
Replies: 5
Views: 8671

The job I mentioned is also cyclical and executes every 5 minutes.
by meshearer
15 Aug 2011 9:24
Forum: Control-M Server
Topic: How to retrive the logs for the job which ran last month
Replies: 5
Views: 7648

abishek,

I created a job that runs right after newday to save the previous nights ctmlog:

ctmlog list %%$PREV 0600 %%$DATE 0600 /opt/bmc/controlm/backup/ctmlog%%$PREV..txt
by meshearer
15 Aug 2011 7:11
Forum: Control-M Agents
Topic: Job Status Delay
Replies: 5
Views: 8671

I had this same issue with 6.04.01.300. The job had 'ON' statements that evaluated the sysout for a word pattern. When I removed the 'ON' statement and corresponding 'DO' steps, the job status updates returned to normal.
by meshearer
16 Jul 2009 8:53
Forum: Scripts
Topic: Holding on jobs
Replies: 5
Views: 4636

I've created two jobs that run the CTMPSM utility. One runs the utility with the "-UPDATETABLE" parameter to hold all jobs in a scheduling table. The other one runs the utility with the "-UPDATEGROUP" parameter to hold jobs in a specific group or application. Hope this helps you.
by meshearer
29 Jun 2009 10:39
Forum: Control-M Enterprise Manager
Topic: Migration from 6.1.03 to 6.4.01
Replies: 2
Views: 2138

Hi, We are also migrating from 6.1.03 (Solaris) to 6.4.01 (Solaris). The one caveat that I can tell you is to make sure you clean up any old files in the AGSTAT directory. For instance, I had my UNIX admin remove all files that did not have the current date. If you don't do this you may get an agent...