|   | 
	 
  
    | 
RSS Feed - WebSphere MQ Support
 | 
RSS Feed - Message Broker Support
 |   
 
  
	     | 
	 | 
   
 
  
	|  How to delete a crash queue | 
	« View previous topic :: View next topic »  | 
   
  
  	
	  
		
		
		  | Author | 
		  Message
		 |  
		
		  | wilsonho3 | 
		  
		    
			  
				 Posted: Sat Jan 09, 2010 2:15 am    Post subject: How to delete a crash queue | 
				     | 
			   
			 
		   | 
		 
		
		   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 | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | exerk | 
		  
		    
			  
				 Posted: Sat Jan 09, 2010 2:19 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		    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 | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | fjb_saper | 
		  
		    
			  
				 Posted: Sat Jan 09, 2010 4:49 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		    Grand High Poobah
 
 Joined: 18 Nov 2003 Posts: 20768 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 | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | bruce2359 | 
		  
		    
			  
				 Posted: Sat Jan 09, 2010 7:25 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		    Poobah
 
 Joined: 05 Jan 2008 Posts: 9486 Location: US: west coast, almost. Otherwise, enroute. 
  | 
		  
		    
			  
				
 
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 | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | nathanw | 
		  
		    
			  
				 Posted: Mon Jan 11, 2010 1:29 am    Post subject: Re: How to delete a crash queue | 
				     | 
			   
			 
		   | 
		 
		
		    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 | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | 
		    
		   | 
		 
	   
	 | 
   
 
  
	     | 
	 | 
	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
  | 
  		 
	   
	 | 
   
 
  	 | 
	  |