logo       

RE: Simple Question..: msg#00374

sysutils.tivoli.tme10

Subject: RE: Simple Question..

Hello Gareth ...
 
Oddly enough, Candle is now owned by IBM, and they are currently re-branding several of the Candle tools as Tivoli products.  Whoda' thunk.
 
I suspect that the embedded percent sign breaks TEC.  I think it is a special or reserved symbol in prolog, due to which those event classes won't parse properly in the prolog compiler that TEC uses.  A quick scan of the Rule Builder's Guide shows me no listing of that symbol as a standalone symbol, but I do know that it is the comment symbol in rules (like # in shell or perl).  
 
My initial thought for a work-around is to replace the % symbol in every event definition with "pct" ... I know that would compile & load successfully, but will it match what Candle throws at you?  On that point, I suspect it would fail.  The Candle event translator -- for example, kvtagent -- takes the Candle alert and parses it out to create a Tivoli Event from the original Candle name ... and there would probably be no way for you to force the translator to replace "%" with "pct" on the fly.
 
Have you tested the rulebase by removing ONLY those events with that embedded "%", and trying to compile & load?  If that is successful, then you have verified that the "%" is what is killing you.
 
I would recommend you call Candle support and open a problem ticket with them.  Make it high sev.  This looks like a product defect to me, but since they are now part of the IBM family, one can only hope they will have the resources to resolve it without undue delay.
 
good luck,
 
John Guadagnino
Gap Inc.
 
 p.s. FYI ... those are slot names ("UNIX_User_Time") not classes ... only slots have attributes such as INTEGER (or atom, or real, or ...).  The slot is inside the event class definition statement, and the event class definition is in the BAROC file.  Chapter 2 of your Rule Builder's Guide goes over BAROC files & stuff in depth.
-----Original Message-----
From: owner-tme10@xxxxxxxxxxxxxxxx [mailto:owner-tme10@xxxxxxxxxxxxxxxx]On Behalf Of Gareth Jones
Sent: Thursday, November 25, 2004 8:56 AM
To: tme10@xxxxxxxxxxxxxxxx
Cc: Martin Butler; Susie Lau; Julian Swales
Subject: [tme10] Simple Question..


We are trying to integrate some Candle stuff into our tec environment.  They have an automated script that spits out baroc files.

K - have a couple of issues with this - one - it is 18000+ lines of barocs - I'm sure there must be a performance impact.

but - my major one is that the generated barocs have names like....

Total_TCB%:INTEGER;

not a problem - or is it?

what does cause it fits - and leads me to believe there is a problem is the following:

             UNIX_User_Time:INTEGER;
             UNIX_User_Time%:INTEGER;

will compile fine - but will not load.  Did some playing - this seems to be the case no matter where the % is located.  It is fine if there is only one class but add a second class that is the same in every way with the addition of a % sign - it will compile but not load.

We are running tec 3.8 - if that matters

Gareth Jones
ISM Canada
Ph 306-790-5326
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise