|   | 
	 
  
    | 
RSS Feed - WebSphere MQ Support
 | 
RSS Feed - Message Broker Support
 |   
 
  
	     | 
	 | 
   
 
  
	|  delete dead letter queue messages | 
	« View previous topic :: View next topic »  | 
   
  
  	
	  
		
		
		  | Author | 
		  Message
		 |  
		
		  | pintrader | 
		  
		    
			  
				 Posted: Mon Oct 20, 2014 2:38 am    Post subject: delete dead letter queue messages | 
				     | 
			   
			 
		   | 
		 
		
		   Disciple
 
 Joined: 22 Jan 2014 Posts: 164
  
  | 
		  
		    
			  
				hi,
 
i have read the doc but still can't get the hang of it. how do you use runmqdlq to delete all messages in dead letter queue? Is there an example?
 
thanks | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | exerk | 
		  
		    
			  
				 Posted: Mon Oct 20, 2014 3:37 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		    Jedi Council
 
 Joined: 02 Nov 2006 Posts: 6339
  
  | 
		  
		    
			  
				Look at the DISCARD keyword more closely... _________________ 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 | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | bruce2359 | 
		  
		    
			  
				 Posted: Mon Oct 20, 2014 4:13 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		    Poobah
 
 Joined: 05 Jan 2008 Posts: 9486 Location: US: west coast, almost. Otherwise, enroute. 
  | 
		  
		    
			  
				Go directly to google, search for runmqdlq+discard. _________________ 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 | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | pintrader | 
		  
		    
			  
				 Posted: Mon Oct 20, 2014 5:06 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		   Disciple
 
 Joined: 22 Jan 2014 Posts: 164
  
  | 
		  
		    
			  
				hi thanks for reply
 
 
any reasons why can't we use 
 
 
   
	| Code: | 
   
  
	
 
clear ql(DEAD.LETTER.Q) 
 
 | 
   
 
 
 
as dlq are just local queues anyways..? | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | MQsysprog | 
		  
		    
			  
				 Posted: Mon Oct 20, 2014 5:59 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		   Centurion
 
 Joined: 24 Feb 2014 Posts: 116
  
  | 
		  
		    
			  
				Hi ,
 
 
The dlq is a local queue,but is also used by the qmanager ,so you could expect a queue in use rc ,if you try to clear it without freeing with a alter qmgr command .
 
Probably is better to browse the dlq  messages ,and then 
 
 define a rule table for the dlq handler, in order to deal with  them properly . | 
			   
			 
		   | 
		 
		
		  | 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
  | 
  		 
	   
	 | 
   
 
  	 | 
	  |