ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Adding keywords to ESQL files, something's wrong??

Post new topic  Reply to topic
 Adding keywords to ESQL files, something's wrong?? « View previous topic :: View next topic » 
Author Message
[EG]Slayer
PostPosted: Thu Mar 24, 2011 6:39 am    Post subject: Adding keywords to ESQL files, something's wrong?? Reply with quote

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
View user's profile Send private message
lancelotlinc
PostPosted: Thu Mar 24, 2011 7:01 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

What do you hope to accomplish by doing this?
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Thu Mar 24, 2011 7:15 am    Post subject: Reply with quote

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
View user's profile Send private message
lancelotlinc
PostPosted: Thu Mar 24, 2011 7:25 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Hi mqjeff,

Yes, I thought he might be doing that, but I wanted to have him/her explain his thought process.

http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/index.jsp?topic=/com.ibm.etools.mft.doc/ac35430_.htm


Code:
$MQSI_VERSION=$id$MQSI$


[EG], what happens when you try this?
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
[EG]Slayer
PostPosted: Thu Mar 24, 2011 8:49 am    Post subject: Reply with quote

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
View user's profile Send private message
paintpot
PostPosted: Fri Mar 25, 2011 8:09 am    Post subject: Reply with quote

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
View user's profile Send private message
[EG]Slayer
PostPosted: Thu Apr 07, 2011 5:39 am    Post subject: Reply with quote

Novice

Joined: 01 Aug 2008
Posts: 16

For information,

installing Toolkit V7 fixpack 2 fix the problem

thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Adding keywords to ESQL files, something's wrong??
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.