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 » Automatic running DLQ in AIX system

Post new topic  Reply to topic
 Automatic running DLQ in AIX system « View previous topic :: View next topic » 
Author Message
jeevan
PostPosted: Fri Jan 27, 2006 11:41 am    Post subject: Automatic running DLQ in AIX system Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

Can we run DLQ automatically?
Back to top
View user's profile Send private message
bower5932
PostPosted: Fri Jan 27, 2006 11:47 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

You might want to look into have the DLQ monitored with a trigger. When a message arrives, you can start a program (runmqdlq) up to process the messages.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
jeevan
PostPosted: Fri Jan 27, 2006 12:04 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

thanks
Back to top
View user's profile Send private message
wschutz
PostPosted: Fri Jan 27, 2006 12:07 pm    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

bower5932 wrote:
You might want to look into have the DLQ monitored with a trigger. When a message arrives, you can start a program (runmqdlq) up to process the messages.

Can you start runmqdlq directly (getting a TM as a paramter), or must you start a script which, in turn, starts runmqdlq?
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
fjb_saper
PostPosted: Sat Jan 28, 2006 10:58 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

wschutz wrote:
bower5932 wrote:
You might want to look into have the DLQ monitored with a trigger. When a message arrives, you can start a program (runmqdlq) up to process the messages.

Can you start runmqdlq directly (getting a TM as a paramter), or must you start a script which, in turn, starts runmqdlq?


It really depends on what you have in mind. If you do not supply an input file (for your rules) you will need to pipe the input or run interactively. Queue and qmgr given on command line will superseed any defaults taken from the rules input.

You can as well keep the dlq handler running the rules instead of terminating on exit. (WAIT=YES)

It all depends on what you are trying to achieve with the DLQ handler.

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
wschutz
PostPosted: Sun Jan 29, 2006 5:20 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

FJ-- Yes,but runmqdlq, if triggered directly, will get a trigger message as a parameter ...
thus, it will see:

"TM ....QNAME etc" as a parm. (where ... = version # in hex)

In this case, runmqdlq will take "TM" as the queue name and x'01" (version) as the qmgrname.

So you need to have a wrapper script to extract the qname and qmgrname and pass that to runmqldq, or, as you say, pass "null" parameters.
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
jefflowrey
PostPosted: Sun Jan 29, 2006 5:43 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

And, of course, if you trigger runmqdlq, and it decides to quit with a bad exit code (perhaps it can't process your rules file), then the trigger monitor will ...

put the trigger message on the DLQ.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Automatic running DLQ in AIX system
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.