Author |
Message
|
PeterPotkay |
Posted: Wed Jan 04, 2006 7:42 am Post subject: Obsolete queues - maybe MO71 can help? |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Deleting a local queue, as that app is no longer available. But I would also like to clean up any remote queue defs in my system that may point at it. Any easy way to have a tool that knows about all your QMs (MO71, QPASA, MQExplorer) to spit out a list of all these now bogus remote queue defs? _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Jan 04, 2006 7:48 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
If you were running v6, you could do something like 'display qremote(*) where RMQNAME EQ abc'.
And the most recent saveqmgr has a -1 (and -2) option for making the output easily machine searchable...
I don't know any of the other tools well enough to give suggestions. But I'd think QPasa would have this funtion in it somewhere - by now. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
oz1ccg |
Posted: Wed Jan 04, 2006 7:49 am Post subject: |
|
|
 Yatiri
Joined: 10 Feb 2002 Posts: 628 Location: Denmark
|
|
Back to top |
|
 |
wschutz |
Posted: Wed Jan 04, 2006 7:50 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
err....
Code: |
'display qremote(*) where RQMNAME EQ abc'. |
_________________ -wayne |
|
Back to top |
|
 |
PeterPotkay |
Posted: Wed Jan 04, 2006 7:51 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
jefflowrey wrote: |
If you were running v6, you could do something like 'display qremote(*) where RMQNAME EQ abc'. |
Would this work for all 5.3 and 6.0 QMs that I would have in my 6.0 Explorer? Or only the 6.0 QMs? I can easily upgrade my desktop to 6.0, but most of my QMs are still 5.3. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
wschutz |
Posted: Wed Jan 04, 2006 7:52 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Only v6 qmgrs ..... _________________ -wayne |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Jan 04, 2006 7:55 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
wschutz wrote: |
err....
Code: |
'display qremote(*) where RQMNAME EQ abc'. |
|
Fingers faster than brain. I need to work on that. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
oz1ccg |
Posted: Wed Jan 04, 2006 11:48 am Post subject: |
|
|
 Yatiri
Joined: 10 Feb 2002 Posts: 628 Location: Denmark
|
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Jan 04, 2006 2:59 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
You can also do something like
Code: |
echo 'dis qr(*) rname rqmname' | runmqsc <qmgr> | cat -n | grep -i abc |
This should flush out the information. If you see anything comming back redirecting the output to a file before the grep gives you the information you need with the line number to go look for more details...
 _________________ MQ & Broker admin |
|
Back to top |
|
 |
PeterPotkay |
Posted: Thu Jan 05, 2006 8:54 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Thanks, but all those commands can only be run on a single QM, and I would have to go and run it one by one across dozens of QMs. Just as easy to do a q list one by one in a GUI tool.
The Healthcheck Support Pack sounds promising (but my MFs are not at 6.0 yet).
Turns out MO71 has what I need. Paul Clarke gave me the following tip on the list serve:
Quote: |
In MO71 in the network view you can expand a local queue definition and see which remote queue and alias queue definitions point to it. Similarly if a remote queue or alias queue is defined that doesn't point to a defined
local queue it will highlight it as a 'problem'. |
I started playing around with, and it does what I need. Never really explored that whole section of MO71. Neat stuff. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
|