Author |
Message
|
[EG]Slayer |
Posted: Thu Mar 24, 2011 6:39 am Post subject: Adding keywords to ESQL files, something's wrong?? |
|
|
Novice
Joined: 01 Aug 2008 Posts: 16
|
Hi all,
I'm using WBI Message Broker 7.0.0
I'm trying to add keywords to my esql files but nothing appear in the deployed bar properties....
I've add the following line in my esql :
DECLARE MyKey CHAR;
DECLARE Version CHAR;
SET MyKey = '$MQSI_MyKey=testMQSI$';
SET Version = '$MQSI_VERSION=V1_0_0MQSI$';
-- $MQSI MyKey2=test2MQSI$
--> Only the Version keyword has been updated, others don't appear...
I've tried the passthru method, and the long description info too but without success
Do you have an idea ? Maybe I have to check something? |
|
Back to top |
|
 |
lancelotlinc |
Posted: Thu Mar 24, 2011 7:01 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
mqjeff |
Posted: Thu Mar 24, 2011 7:15 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
lancelotlinc wrote: |
What do you hope to accomplish by doing this? |
Presumably he or she wants to sensibly make information about the deployed resources visible to an administrator at a quick glance using broker native facilities without needing to write any custom code.
It's a very good idea.
No idea why it's not working. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Thu Mar 24, 2011 7:25 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
[EG]Slayer |
Posted: Thu Mar 24, 2011 8:49 am Post subject: |
|
|
Novice
Joined: 01 Aug 2008 Posts: 16
|
Yeah, the objective is to allow the administrator to see some other information about a deployed flow.
When I do $MQSI_VERSION=$id$MQSI$ the result is :
info
Version : $id$
(we haven't configured cvs for the translation)
A question : When I want to add the keyword author for example, I add the following line somewhere(1) in my esql :
-- $MQSI Author=MeMQSI$
Do I have to configure somewhere that I want to display this keyword or is it enough?
(1) I've tried the 1st line in my Esql file, in a module, at the end of the esql file but nothing appears in the deployed flow properties...
I don't understand why my keywords are not shown ... |
|
Back to top |
|
 |
paintpot |
Posted: Fri Mar 25, 2011 8:09 am Post subject: |
|
|
Centurion
Joined: 19 Sep 2005 Posts: 112 Location: UK
|
I agree.
However, a temporary fix for ESQL / code is to use variables;
DECLARE TargetX CHARACTER '$MQSI target = production only MQSI$';
The other approaches for flows seem to work too (e.g. long description on flows etc).
(the .CMF file seems to have had its comments stripped out of the code...which probably doesn't help - could be a PMR, or some setting I don't know about to stop/fix that) |
|
Back to top |
|
 |
[EG]Slayer |
Posted: Thu Apr 07, 2011 5:39 am Post subject: |
|
|
Novice
Joined: 01 Aug 2008 Posts: 16
|
For information,
installing Toolkit V7 fixpack 2 fix the problem
thanks  |
|
Back to top |
|
 |
|