|  | 
 
  
    | RSS Feed - WebSphere MQ Support | RSS Feed - Message Broker Support |  
 
  
	|    |  |  
  
	| runmqdlq output | « View previous topic :: View next topic » |  
  	| 
		
		
		  | Author | Message |  
		  | David Korenberg | 
			  
				|  Posted: Wed Nov 30, 2005 7:34 am    Post subject: runmqdlq output |   |  |  
		  | Newbie
 
 
 Joined: 14 Mar 2002Posts: 6
 
 
 | 
			  
				| Hi, 
 We have been using the dead letter queue handler on z/OS for a while now. It produces output with info about what it has done: x retries, y forwards, z  discards.
 Now I am testing runmqdlq on Windows. It's working but I am unable to get a report about what it has done.
 I expect the command would look like this:
 runmqdlq < inputparms.txt > output.txt .
 
 The syntax is OK but output.txt remains empty.
 Does anybody know how to do this?
 
 thanks,
 David
 |  |  
		  | Back to top |  |  
		  |  |  
		  | jefflowrey | 
			  
				|  Posted: Wed Nov 30, 2005 7:44 am    Post subject: |   |  |  
		  | Grand Poobah
 
 
 Joined: 16 Oct 2002Posts: 19981
 
 
 | 
			  
				| It may be writing the output to stderr instead of stdout. 
 Try runmqdlq < inputparams.txt > output.txt 2>&1
 _________________
 I am *not* the model of the modern major general.
 |  |  
		  | Back to top |  |  
		  |  |  
		  | David Korenberg | 
			  
				|  Posted: Thu Dec 01, 2005 3:37 am    Post subject: |   |  |  
		  | Newbie
 
 
 Joined: 14 Mar 2002Posts: 6
 
 
 | 
			  
				| Hi, 
 This makes runmqdlq write to output.txt that processing starts and ends with a timestamp. That's useful.
 But it doesn't report how many messages were discarded, forwarded, etc.
 
 I've looked in a supplied sample c file (amqsdlq.msg) that contains the output messages which runmqdlq can produce and it looks like there is no message to produce the desired information.
 
 thanks,
 David
 |  |  
		  | Back to top |  |  
		  |  |  
		  | jefflowrey | 
			  
				|  Posted: Thu Dec 01, 2005 4:07 am    Post subject: |   |  |  
		  | Grand Poobah
 
 
 Joined: 16 Oct 2002Posts: 19981
 
 
 | 
			  
				| Well, adding print statements isn't too hard... 
 and runmqdlq is supposed to be more of a sample than a utility.
 _________________
 I am *not* the model of the modern major general.
 |  |  
		  | Back to top |  |  
		  |  |  
		  | wschutz | 
			  
				|  Posted: Thu Dec 01, 2005 7:47 am    Post subject: |   |  |  
		  |  Jedi Knight
 
 
 Joined: 02 Jun 2005Posts: 3316
 Location: IBM (retired)
 
 | 
			  
				| 
   
	| jefflowrey wrote: |  
	| and runmqdlq is supposed to be more of a sample than a utility.
 |  Beg to differ.... runmqdlq is in the "commands" section of the MQ SA Guide (along with commands like runmqsc)...
 the "sample" is in /opt/mqm/samp/dlq (amqsdlq)
      _________________
 -wayne
 |  |  
		  | 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
 
 |  |  |  |