Search found 7 matches

by wrenchos
29 Sep 2017 9:09
Forum: Job Definition
Topic: determine last working day on job command line...
Replies: 2
Views: 24097

determine last working day on job command line...

Hi, I am trying to work out the last working day of the previous month and although I have used calcdate before I can only determine the last working day of the month. Is there a way of querying the calendar in controlm to determine what the last working day would have been? I have set the job to ru...
by wrenchos
15 Jan 2015 4:21
Forum: Job Definition
Topic: Can you use CALCDATE to determine the date 3 months ago?
Replies: 2
Views: 4935

Can you use CALCDATE to determine the date 3 months ago?

Hi, I am trying to run a job which must ran for a date 3 months in the past and I can't find an easy way to do this...ideally it would be something like:

%%3MONTHSAGO = %%CALCDATE %%MONTH -3
but that would be too easy...

Using V.8

Many thanks
by wrenchos
19 Dec 2013 4:33
Forum: Exploitation / Operation
Topic: how do you find any file in a directory using CTMFW
Replies: 1
Views: 8299

how do you find any file in a directory using CTMFW

Hi, I am trying to run something along the following lines:

CTMFW \\SERVER\SHARENAME\*.* CREATE 100 10 10 3 60 Y

but it keeps returning with \. found and is 0 bytes. When I drop a .txt file in it won't detect the file.

I am running this on 6.3.01 from command on a windows server.

thanks
by wrenchos
19 Nov 2013 3:42
Forum: Job Definition
Topic: How do you get a sysout into a variable to then Do EMAIL
Replies: 2
Views: 2831

How do you get a sysout into a variable to then Do EMAIL

Hi, does anyone know how to get the sysout into a DO EMAIL step? We are running 6.3 and need to get the job log out to the email groups. Basically, we are looking at an attachment or a variable to include the sysout in the mail.

we are running windows agents and unix server.

Regards
by wrenchos
01 Mar 2012 12:21
Forum: Exploitation / Operation
Topic: ctmcreate - how to pass n conditions to a downstream job
Replies: 2
Views: 3597

Hi, I have now resolved this but thankyou for the reply. This was one of my ideas also. The solution is: Create a scheduling group that contains no jobs. Pass a condition from your upstream job to the empty group. The upstream job then spawns each new adhoc job in the empty group and once all the ad...
by wrenchos
01 Mar 2012 10:51
Forum: Control-M Enterprise Manager
Topic: EM desktop automatically updating nodeid to CAPS
Replies: 1
Views: 5977

We have seen the same issue in 6.3.01.500 whereby if you have both a lowercase entry and uppercase entry it defaults to the UPPER CASE version. We also noted that priority was being set and start and end times were being populated with strange values. We are running this through citrix. NB that not ...
by wrenchos
29 Feb 2012 7:18
Forum: Exploitation / Operation
Topic: ctmcreate - how to pass n conditions to a downstream job
Replies: 2
Views: 3597

ctmcreate - how to pass n conditions to a downstream job

Hi, I have a problem where I am creating 165 new jobs using ctmcreate and need to get the conditions to a downstream job. There is a limit of 99 on IN conditions, and I wondered if there was a way to get the conditions from my jobs (called adhoc0001 to adhoc0165) to the next job. Note also that the ...