| Author | 
		  Message
		 | 
		
		  | mqjava | 
		  
		    
			  
				 Posted: Fri Mar 26, 2010 6:06 am    Post subject: reason code in a dead-letter message | 
				     | 
			   
			 
		   | 
		
		
		    Voyager
 
 Joined: 25 May 2009 Posts: 80 Location: New Jersey 
  | 
		  
		    
			  
				Hello All,
 
 
I am trying to find the reason code in a dead letter message without using MQ Explorer or any java programs. Is there a way like - command to see the reason code or using amqsbcg how to see get the reason code?
 
 
Thanks in advance. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | bruce2359 | 
		  
		    
			  
				 Posted: Fri Mar 26, 2010 6:08 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Poobah
 
 Joined: 05 Jan 2008 Posts: 9486 Location: US: west coast, almost. Otherwise, enroute. 
  | 
		  
		    
			  
				Any utility that can browse a message in a queue will do.  amqsbcg will do so. _________________ 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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Vitor | 
		  
		    
			  
				 Posted: Fri Mar 26, 2010 6:09 am    Post subject: Re: reason code in a dead-letter message | 
				     | 
			   
			 
		   | 
		
		
		    Grand High Poobah
 
 Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA 
  | 
		  
		    
			  
				
   
	| mqjava wrote: | 
   
  
	| Is there a way like - command to see the reason code or using amqsbcg how to see get the reason code? | 
   
 
 
 
amqsbcg displays the DLH so you can read the code. Most of the administrative support pacs can also decode the header. _________________ Honesty is the best policy.
 
Insanity is the best defence. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mqjava | 
		  
		    
			  
				 Posted: Fri Mar 26, 2010 6:11 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Voyager
 
 Joined: 25 May 2009 Posts: 80 Location: New Jersey 
  | 
		  
		    
			  
				Thanks for the replys.
 
 
Could you please let me know how to get the reason code using amqsbcg, or if online document is there please post a link. 
 
 
Thanks. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | bruce2359 | 
		  
		    
			  
				 Posted: Fri Mar 26, 2010 6:18 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Poobah
 
 Joined: 05 Jan 2008 Posts: 9486 Location: US: west coast, almost. Otherwise, enroute. 
  | 
		  
		    
			  
				Take a look at the WMQ Application Programming Reference for the mqdlh, the dead-letter header.  The header layout will show you the location of the RC in the header. _________________ 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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | WMBDEV1 | 
		  
		    
			  
				 Posted: Fri Mar 26, 2010 6:21 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Sentinel
 
 Joined: 05 Mar 2009 Posts: 888 Location: UK 
  | 
		  
		    
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mqjava | 
		  
		    
			  
				 Posted: Fri Mar 26, 2010 6:28 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Voyager
 
 Joined: 25 May 2009 Posts: 80 Location: New Jersey 
  | 
		  
		    
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |