Author |
Message
|
neilgc |
Posted: Tue Dec 03, 2002 7:54 am Post subject: Deleting Queues |
|
|
 Novice
Joined: 03 Jul 2002 Posts: 20 Location: London
|
Don't know if I'm being stupid here but we're just running some housekeeping on our environment and deleting some queues that are no longer required (or so we believe). One of the queues however stated that it couldn't be deleted as the object is open. Is there an easy way of finding out exactly what has the queue open? We know what process should have had it open and that's already been deleted (was no longer required)
Thanks in advance. |
|
Back to top |
|
 |
mrlinux |
Posted: Tue Dec 03, 2002 8:24 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
Well it more than likely a orphaned handle and you will need to recycle the qmgr to get rid of it. _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
bower5932 |
Posted: Tue Dec 03, 2002 9:55 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
With WebSphere MQ 5.3, you can tell who has a queue open. You use the display qstatus command. |
|
Back to top |
|
 |
mrlinux |
Posted: Tue Dec 03, 2002 11:41 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
Well it wont matter what process was attached to the queue if the handle was orphaned, the qmanager will still need to be recycled _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
bduncan |
Posted: Tue Dec 03, 2002 5:28 pm Post subject: |
|
|
Padawan
Joined: 11 Apr 2001 Posts: 1554 Location: Silicon Valley
|
Also, just to point out, you can't stop the queue manager with "endmqm -w" if there are any orphaned handles, as the queue manager will simply wait forever... _________________ Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator |
|
Back to top |
|
 |
neilgc |
Posted: Wed Dec 04, 2002 9:52 am Post subject: |
|
|
 Novice
Joined: 03 Jul 2002 Posts: 20 Location: London
|
Thanks guys, unfortunately still on 5.2 so can't use the QSTATUS command yet nice to know we have the facility in the future though. Just got to arrange an outage on the server now. |
|
Back to top |
|
 |
|