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 » runmqdlq output

Post new topic  Reply to topic
 runmqdlq output « View previous topic :: View next topic » 
Author Message
David Korenberg
PostPosted: Wed Nov 30, 2005 7:34 am    Post subject: runmqdlq output Reply with quote

Newbie

Joined: 14 Mar 2002
Posts: 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
View user's profile Send private message
jefflowrey
PostPosted: Wed Nov 30, 2005 7:44 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 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
View user's profile Send private message
David Korenberg
PostPosted: Thu Dec 01, 2005 3:37 am    Post subject: Reply with quote

Newbie

Joined: 14 Mar 2002
Posts: 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
View user's profile Send private message
jefflowrey
PostPosted: Thu Dec 01, 2005 4:07 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 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
View user's profile Send private message
wschutz
PostPosted: Thu Dec 01, 2005 7:47 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 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
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » runmqdlq output
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.