Author |
Message
|
karach |
Posted: Mon Apr 10, 2006 1:17 am Post subject: How to get the broker name in ESQL? |
|
|
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 |
|
 |
wschutz |
Posted: Mon Apr 10, 2006 1:28 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
|
Back to top |
|
 |
karach |
Posted: Mon Apr 10, 2006 1:53 am Post subject: |
|
|
Newbie
Joined: 05 Jan 2006 Posts: 6
|
|
Back to top |
|
 |
wschutz |
Posted: Mon Apr 10, 2006 2:14 am Post subject: |
|
|
 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 |
|
 |
karach |
Posted: Mon Apr 10, 2006 2:27 am Post subject: |
|
|
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 |
|
 |
wschutz |
Posted: Mon Apr 10, 2006 2:36 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
|
Back to top |
|
 |
MikeOliverAZ |
Posted: Sun Oct 20, 2013 2:18 pm Post subject: Re: How to get the broker name in ESQL? |
|
|
 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 |
|
 |
smdavies99 |
Posted: Sun Oct 20, 2013 9:59 pm Post subject: |
|
|
 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 |
|
 |
cirnogenius |
Posted: Tue Oct 22, 2013 11:31 pm Post subject: |
|
|
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 |
|
 |
NealM |
Posted: Thu Oct 24, 2013 1:01 pm Post subject: |
|
|
 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 |
|
 |
|