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 » How to get the broker name in ESQL?

Post new topic  Reply to topic
 How to get the broker name in ESQL? « View previous topic :: View next topic » 
Author Message
karach
PostPosted: Mon Apr 10, 2006 1:17 am    Post subject: How to get the broker name in ESQL? Reply with quote

Newbie

Joined: 05 Jan 2006
Posts: 6

Hi all,

I need a tip.
How is it possible in ESQL language to get the current broker name? For example if I am deploying under - let's say - 'MYBRK' broker. I want to be able to retrieve this name using an ESQL instruction.

Hope someone has the answer

Yours,

Ka
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
wschutz
PostPosted: Mon Apr 10, 2006 1:28 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Which version of the broker?

If V6 see:
http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/topic/com.ibm.etools.mft.doc/ak09512_.htm
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
karach
PostPosted: Mon Apr 10, 2006 1:53 am    Post subject: Reply with quote

Newbie

Joined: 05 Jan 2006
Posts: 6

The version is the 5.1.7
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
wschutz
PostPosted: Mon Apr 10, 2006 2:14 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Some have suggested to set an environment variable and then use the "Get Environment variables" supportpac. There really isn't an optimal way in pre V6.
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
karach
PostPosted: Mon Apr 10, 2006 2:27 am    Post subject: Reply with quote

Newbie

Joined: 05 Jan 2006
Posts: 6

hmmmm.

I tried anyway this command :

SET Environment.myvar = Brokername;

but it didn't worked. Of course, if this correlation name is only available under v6...

Maybe there is a way to get something else (queue manager for example). From that, I could conlude which broker name I have to "get".

Yours
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
wschutz
PostPosted: Mon Apr 10, 2006 2:36 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

or you could write a plugin node:
http://www.mqseries.net/phpBB2/viewtopic.php?t=8349
and some thoughts here:
http://www.mqseries.net/phpBB2/viewtopic.php?t=24634
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
MikeOliverAZ
PostPosted: Sun Oct 20, 2013 2:18 pm    Post subject: Re: How to get the broker name in ESQL? Reply with quote

Apprentice

Joined: 10 Jul 2013
Posts: 47

karach wrote:

How is it possible in ESQL language to get the current broker name? For example if I am deploying under - let's say - 'MYBRK' broker. I want to be able to retrieve this name using an ESQL instruction.


Ok this is an old thread but I have the same question, can I get the current broker name from a compute node esql?
Back to top
View user's profile Send private message Send e-mail
smdavies99
PostPosted: Sun Oct 20, 2013 9:59 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

There is a whole page in the Infocentre that details this sort of thing.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
cirnogenius
PostPosted: Tue Oct 22, 2013 11:31 pm    Post subject: Reply with quote

Newbie

Joined: 22 Oct 2013
Posts: 2

Infocenter:
Accessing broker properties from ESQL
and
Broker properties that are accessible from ESQL and Java
Back to top
View user's profile Send private message
NealM
PostPosted: Thu Oct 24, 2013 1:01 pm    Post subject: Reply with quote

Master

Joined: 22 Feb 2011
Posts: 230
Location: NC or Utah (depends)

This must come close to being a record for reviving an old thread. I had to rub my eyes when I saw Wayne's ID pop up again after all these years.
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 » How to get the broker name in ESQL?
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.