Author |
Message
|
shalabh1976 |
Posted: Mon May 14, 2012 3:39 am Post subject: WMB 6 - want to find flow name from output queue |
|
|
 Partisan
Joined: 18 Jul 2002 Posts: 381 Location: Gurgaon, India
|
Env: WMB 6.0 on AIX
A team member of mine has just inherited a WMB environment where he must support production problems as well. He has just the execution group with the deployed flows but not the flows themselves. He has the flows in the development environment but here the queue names are different. Now there is a problem reported for one of the queues in production. He has no idea which flow to check because there is no mapping between production queue names and dev queue names. Can one find out the name of the flow from the queue name using the execution group ? _________________ Shalabh
IBM Cert. WMB V6.0
IBM Cert. MQ V5.3 App. Prog.
IBM Cert. DB2 9 DB Associate |
|
Back to top |
|
 |
lancelotlinc |
Posted: Mon May 14, 2012 4:58 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
Using MBX, you can see which flow uses which queue. I'm surprised you didn't know this. Or your friend didn't know this. Have you or your friend attended the required training? _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
Vitor |
Posted: Mon May 14, 2012 5:24 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
lancelotlinc wrote: |
Using MBX, you can see which flow uses which queue. |
Even on a v6.0 broker? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Mon May 14, 2012 5:33 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
Vitor wrote: |
lancelotlinc wrote: |
Using MBX, you can see which flow uses which queue. |
Even on a v6.0 broker? |
6.0 broker is unsupported by any tool. Although I have not tried it, it's worth seeing if MBX 7 can display the info. I don't know why it wouldn't since MBX uses CMP api, which is supported on a v6 broker. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
Vitor |
Posted: Mon May 14, 2012 5:51 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
lancelotlinc wrote: |
Vitor wrote: |
lancelotlinc wrote: |
Using MBX, you can see which flow uses which queue. |
Even on a v6.0 broker? |
6.0 broker is unsupported by any tool. Although I have not tried it, it's worth seeing if MBX 7 can display the info. I don't know why it wouldn't since MBX uses CMP api, which is supported on a v6 broker. |
I ask only as the OP mentioned v6.0. Given the issues mentioned with production support we can all sympathise with that kind of "inheritance" & the impossibility of any kind of upgrade.
(If management are prepared to have no correlation or controls between deployed objects & used resources, running out of support versions is not going to bother them). _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
ganesh |
Posted: Mon May 14, 2012 5:51 am Post subject: |
|
|
Master
Joined: 18 Jul 2010 Posts: 294
|
Use the CMP api exericiser in WMB 6.0 or write your own java utility to query the configuration manager to get the flow names and the queues to which they are listening. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Mon May 14, 2012 6:03 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
smdavies99 |
Posted: Mon May 14, 2012 6:46 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
Always remembeing that a goodly amount the wonderful insight of broker learned on the aforementioned courses will not apply to the version of broker they are having to support....  _________________ 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 |
|
 |
mqmatt |
Posted: Mon May 14, 2012 7:06 am Post subject: |
|
|
 Grand Master
Joined: 04 Aug 2004 Posts: 1213 Location: Hursley, UK
|
The methods to get the queue names (MessageFlowProxy.getQueues() etc.) were only added in V6.1 - you can't get back this information in V6.0 and earlier.
Also, V7 CMP tools (including MBX) can't connect to brokers of anything earlier than V7. |
|
Back to top |
|
 |
shalabh1976 |
Posted: Mon May 14, 2012 9:53 pm Post subject: |
|
|
 Partisan
Joined: 18 Jul 2002 Posts: 381 Location: Gurgaon, India
|
So much for training .......... will attending a training session answer the kind of query I posted ? _________________ Shalabh
IBM Cert. WMB V6.0
IBM Cert. MQ V5.3 App. Prog.
IBM Cert. DB2 9 DB Associate |
|
Back to top |
|
 |
sridhsri |
Posted: Tue May 15, 2012 4:35 am Post subject: |
|
|
Master
Joined: 19 Jun 2008 Posts: 297
|
If I remember correctly, v6 still had a confimgr DB2 database. This database stored the contents of the .cmf file. I don't remember the name of the table now...
The contents .cmf (which is XML) will tell you the name of the queue the MQOutputNode is configured for. |
|
Back to top |
|
 |
Vitor |
Posted: Tue May 15, 2012 4:57 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
shalabh1976 wrote: |
So much for training .......... will attending a training session answer the kind of query I posted ? |
One regular forum poster believes this very strongly.
One regular forum poster believes that attending a training course will answer every query & render this forum redundant.
I freely conceed that wider training would reduce posting traffic greatly. I'm unconvinced that posting training links as a response to non-complex queries is productive. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Tue May 15, 2012 4:59 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
shalabh1976 wrote: |
So much for training .......... will attending a training session answer the kind of query I posted ? |
Eh - it will. Why do you not want to acquire knowledge? What's stopping you from becoming a professional ? _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
|