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 » DLQ

Post new topic  Reply to topic
 DLQ « View previous topic :: View next topic » 
Author Message
swann
PostPosted: Wed Nov 30, 2011 7:59 pm    Post subject: DLQ Reply with quote

Acolyte

Joined: 21 Jun 2011
Posts: 50

Hi,
To my understanding we can handle the DLQ by writing a short script like
inputqm(QA) inputq(QA.LOCAL)
REASON(MQRC_FULL) action(fwd) fwdq(QA) fwdqm(QA) header(no)

Now if i see 100 messages piled up in dead letter queue and if there are 30 different reasons why the message are piled up,so i need to write something like this
REASON(MQRC_FULL) action(fwd) fwdq(QA) fwdqm(QA) header(no)
REASON(MQRC_PUT_INHIBITED) action(fwd) fwdq(QA) fwdqm(QA) header(no)
etc So on......Is there any other shortkut for it..And could you please tell me what does "HEADER(NO)" implies?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Nov 30, 2011 9:02 pm    Post subject: Reply with quote

Grand High Poobah

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

The header no in the fwd clause removes the DLQ header.

Read up in the info center and think about following rule
Code:
DESTQ(MYAPP.THISOP.*) ACTION(RETRY) RETRYCOUNT(2)


Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Mr Butcher
PostPosted: Wed Nov 30, 2011 10:57 pm    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

instead of coding a rule for all reasons with the same action you could also code reason(*)

however, IMHO thats the wrong way to use the DLQ handler. if you have a problem and as a result of this messages are put to the DLQ, then fix the problem and after that run the DLQ handler. just only forwaring all messages to a different queue will not solve your problem, depending on the kind of problen the forward may fail too.
_________________
Regards, Butcher
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 » DLQ
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.