Search found 27 matches

by Hagar
07 Nov 2011 11:32
Forum: Job Definition
Topic: Use of Variables in paths including \
Replies: 5
Views: 4291

Hi!

Your problem is that control-M don't know where your variable ends.
The dot tells ctm "end of variable"

like if you want a date and timestamp you use

%%DATE.%%TIME. this gives 1111071131
if you want the timestamp as 111107.1131 you use
%%DATE..%%TIME
by Hagar
07 Nov 2011 11:28
Forum: Monitoring
Topic: Retro/MaxWait
Replies: 6
Views: 8666

Jobs ended OK are removed at new day, maxwait cannot change that.
by Hagar
28 Oct 2011 4:50
Forum: Exploitation / Operation
Topic: ended ok /Not ok reports on weekly basis.
Replies: 6
Views: 6342

Your command misses the end

your: sun1036-controlm [1] ctmlog list 111025 1200 111026 1159 | grep ibm5000 |awk -F


Add this at the end: \| '{print $5}')
by Hagar
27 Oct 2011 1:17
Forum: Exploitation / Operation
Topic: ended ok /Not ok reports on weekly basis.
Replies: 6
Views: 6342

something like this

ORDERID=$(ctmlog list YYMMDD 0800 YYMMDD 0759 | grep IBM2136 |awk -F\| '{print $5}')
OK=$(ctmlog list YYMMDD 0800 YYMMDD 0759 | grep $ORDERID | grep OK) >> OK.date
NOTOK=$(ctmlog list YYMMDD 0800 YYMMDD 0759 | grep $ORDERID | grep NOTOK)>>NOTOK.date
by Hagar
27 Oct 2011 10:13
Forum: Exploitation / Operation
Topic: ended ok /Not ok reports on weekly basis.
Replies: 6
Views: 6342

You can do it like this:

1: grep on the agent name
2: use awk to get the orderid
3: grep on orderid and OK
4: grep on orderid and NOTOK
by Hagar
26 Oct 2011 3:39
Forum: Exploitation / Operation
Topic: Create User Daily
Replies: 11
Views: 36915

Asallam,
SYSTEM is used for the GENERAL DAILY,
you can have as many user daykies as you want/need. Just schedule them with the user daily value of SYSTEM
by Hagar
26 Oct 2011 3:34
Forum: Job Definition
Topic: Multiple Calendar cross dependency
Replies: 2
Views: 2296

Normally it would not trigger as not all in-conditions are set.

You can use the ctmldnrs utility to fix the problem, or put the jobs in a smart table with adjust condition set. inthat case the inconditions for nonexisting jobs are automaticaly set.
by Hagar
24 Oct 2011 2:59
Forum: Control-M Enterprise Manager
Topic: File: ... does not exist
Replies: 12
Views: 9650

Just a long shot

Can it be that you have gotten some "garbage" in the file name, try and rename it and see if it helps.
by Hagar
24 Oct 2011 1:45
Forum: Job Definition
Topic: job scheduling every month
Replies: 1
Views: 1742

You will need some kind of calendar for this, IF you already have a workdays calendar, use that together with D1 to scheule the job on the first day in the calendar.
by Hagar
24 Oct 2011 1:43
Forum: Job Definition
Topic: Cyclic job with End condition
Replies: 1
Views: 1761

In the steps panel on job A do the following

On Statment * Code *
Do condition "your outcondition" ODAT +
by Hagar
24 Oct 2011 1:34
Forum: Job Definition
Topic: Calendar definition
Replies: 2
Views: 2335

Do you mean that it should run on the 4, 8, 12, 14, 16, 18, 20... or how do you want it scheduled? your examples are not clear to me.
by Hagar
24 Oct 2011 11:40
Forum: Control-M Agents
Topic: Latest Control M Windows Agents
Replies: 2
Views: 3162

Also on the EPD pagem click profile in the upper left and check if you have windows checked there.
by Hagar
06 Oct 2011 8:52
Forum: Control-M Enterprise Manager
Topic: Fix pack installation for version 7.0
Replies: 1
Views: 7458

Please read the release notes for the patch.
There is a good installation guide.
by Hagar
09 Sep 2011 10:47
Forum: Exploitation / Operation
Topic: Julian calendar
Replies: 1
Views: 2420

Stolen from wikipedia The Julian calendar began in 45 BC (709 AUC) as a reform of the Roman calendar by Julius Caesar. It was chosen after consultation with the astronomer Sosigenes of Alexandria and was probably designed to approximate the tropical year (known at least since Hipparchus). The Julian...
by Hagar
09 Sep 2011 10:40
Forum: Job Definition
Topic: Do Ok/Do Mail question.
Replies: 5
Views: 4573

This works even better

On stmt * code COMPSTAT=29
Do OK
On stmt * code NOTOK
Do Mail

In this case both 0 and 29 is considered OK