ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » How to delete a crash queue

Post new topic  Reply to topic
 How to delete a crash queue « View previous topic :: View next topic » 
Author Message
wilsonho3
PostPosted: Sat Jan 09, 2010 2:15 am    Post subject: How to delete a crash queue Reply with quote

Voyager

Joined: 20 Nov 2001
Posts: 98
Location: Hong Kong

I have a MQ issue, platform AIX, a crash queue, want to delete and can not for in use issue.

def ql(xxxxxx) repalce

can not solve the issue, How can I delete that queue or know those processes holding the queuen and I can kill those process, ths


Issue as below:

DIS QL(CLS.CALIDRIS.CUSTPROF)
30 : DIS QL(CLS.CALIDRIS.CUSTPROF)
AMQ8409: Display Queue details.
QUEUE(CLS.CALIDRIS.CUSTPROF) TYPE(QLOCAL)
ACCTQ(QMGR) ALTDATE(2010-01-09)
ALTTIME(18.00.42) BOQNAME( )
BOTHRESH(0) CLUSNL( )
CLUSTER( ) CLWLPRTY(0)
CLWLRANK(0) CLWLUSEQ(QMGR)
CRDATE(2009-08-21) CRTIME(16.46.53)
CURDEPTH(0) DEFBIND(OPEN)
DEFPRTY(0) DEFPSIST(NO)
DEFSOPT(SHARED) DEFTYPE(PREDEFINED)
DESCR( ) DISTL(NO)
GET(ENABLED) HARDENBO
INITQ( ) IPPROCS(1)
MAXDEPTH(5000) MAXMSGL(4194304)
MONQ(QMGR) MSGDLVSQ(PRIORITY)
NOTRIGGER NPMCLASS(NORMAL)
OPPROCS(0) PROCESS( )
PUT(ENABLED) QDEPTHHI(80)
QDEPTHLO(20) QDPHIEV(DISABLED)
QDPLOEV(DISABLED) QDPMAXEV(ENABLED)
QSVCIEV(NONE) QSVCINT(999999999)
RETINTVL(999999999) SCOPE(QMGR)
SHARE STATQ(QMGR)
TRIGDATA( ) TRIGDPTH(1)
TRIGMPRI(0) TRIGTYPE(FIRST)
USAGE(NORMAL)
delete ql(CLS.CALIDRIS.CUSTPROF)
31 : delete ql(CLS.CALIDRIS.CUSTPROF)
AMQ8148: WebSphere MQ object in use.
delete ql(CLS.CALIDRIS.CUSTPROF) nopurge
32 : delete ql(CLS.CALIDRIS.CUSTPROF) nopurge
AMQ8148: WebSphere MQ object in use.
delete ql(CLS.CALIDRIS.CUSTPROF) purge
33 : delete ql(CLS.CALIDRIS.CUSTPROF) purge
AMQ8148: WebSphere MQ object in use.
Back to top
View user's profile Send private message Send e-mail
exerk
PostPosted: Sat Jan 09, 2010 2:19 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Knowing the version would be a great help; if V6 or above hit the Info Centre for DIS QSTATUS.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Jan 09, 2010 4:49 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Killing processes holding a queue open is always dangerous. I would try refraining from that.

Your output shows IPPROC(1). This means that there is one process reading / browsing the queue. Find the app doing that and you can clear the queue.
Looking up the queue "usage" in whichever tool you use for admin can help you find the "culprit".

Of course another option is to clear the queue using WMQExplorer's option to use the MQAPI. This gets destructively each message on the queue.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
bruce2359
PostPosted: Sat Jan 09, 2010 7:25 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Quote:
a crash queue

Please explain exactly what you believe the problem with the queue is? "Crash queue" is not a descriptive term.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
nathanw
PostPosted: Mon Jan 11, 2010 1:29 am    Post subject: Re: How to delete a crash queue Reply with quote

Knight

Joined: 14 Jul 2004
Posts: 550

wilsonho3 wrote:
I have a MQ issue, platform AIX, a crash queue, want to delete and can not for in use issue.

def ql(xxxxxx) repalce



also i hope that the above command is just a typo on here and not what you typed as mq would not to any repalcing but it might do some replacing with

def ql(xxxxxx) replace
_________________
Who is General Failure and why is he reading my hard drive?

Artificial Intelligence stands no chance against Natural Stupidity.

Only the User Trace Speaks The Truth
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » How to delete a crash queue
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.