|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Delete a damaged queue |
« View previous topic :: View next topic » |
Author |
Message
|
tatmon |
Posted: Tue Nov 25, 2003 2:11 am Post subject: Delete a damaged queue |
|
|
Newbie
Joined: 29 Jul 2002 Posts: 8
|
Hello everyone,
I use MQSerie 5.3 on iSeries and when i run wrkmqmq I got this message:
WebSphere MQ object PAM.TESTPERF_RT.INITIATION.ODS.QUEUE is damaged
My question is: how can I delete this queue to create a new one with the same name?
Thanks in advance,
Tatmon |
|
Back to top |
|
 |
mqonnet |
Posted: Tue Nov 25, 2003 5:57 am Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
Hmmm... Interesting one...
On some platforms there are utilities or at least you could write one to take care of such states. But not sure of Iseries.
Unless you have an image of the object/qmgr it may not be easy to recover either.
So, i guess the only option would be to recreate the qm, unfortunately.
There could be some support packs that i am not aware of and someone else could throw some more light on it.
Usually you get into this state because something went wrong when your qm was processing a request, most likely a deletition of the queue, and something untoward happens. This leads the data in a haphazard state in the object catalogue. And which in turn leads to this error being thrown. Also this error usually goes with an FDC whenever you restart your qm or try to access this object.
Hope this helps.
Cheers
Kumar |
|
Back to top |
|
 |
mrlinux |
Posted: Tue Nov 25, 2003 12:30 pm Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
You should be able to delete the queue from the panels, if not do you
have unix/nt system with channels to the AS/400 with conver set to yes ???
if so, from command prompt
echo "delete ql(DAMAGED_Q_NAME)" | runmqsc -w 40 AS400_QMGR_NAME
AS400_QMGR_NAME= either the qmgr name or the qmgr alias that points to the AS400 _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
PeterPotkay |
Posted: Tue Nov 25, 2003 7:02 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
We have had this problem a couple of times with Windows.
One way to fix it is to go into the D:\Programs\IBM\WebSphere MQ\Qmgrs\QM1\QUEUES directory, find the file that corresponds to the damaged queue, and delete it. Restart the QM, and then recreate the queue again. I would think other platforms would be the same?
We have a ticket open with IBM on this, as it has happened twice to us in production (on 5.3 CSD04 no less). _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
tatmon |
Posted: Wed Nov 26, 2003 1:11 am Post subject: |
|
|
Newbie
Joined: 29 Jul 2002 Posts: 8
|
I've found what to do:
I use the command RCRMQMOBJ to recreate the queue and it works fine.
NB: I've also tried to delete the directory which contains the queue definition in the IFS but it doesnt work. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|