Author |
Message
|
akm.mohan |
Posted: Tue Mar 02, 2010 12:53 pm Post subject: runmqdlq |
|
|
Apprentice
Joined: 07 Oct 2008 Posts: 41
|
Hi Friends,
i need some info on runmqdlq.Our dlq is filled up to 5000 msgs.need to run the runmqdlq i did this runmqdlq queuename.dlq Qmanger no worked out.
and i tired with rules tables also like this runmqdlq queuename.dlq Qmanger < rule.txt
in the rule.txt i gave qname and qmname. No msg was processed.
Need to get msg processed from the dlq. give some info
thanks in Advance for your help
Kris |
|
Back to top |
|
 |
Vitor |
Posted: Tue Mar 02, 2010 1:48 pm Post subject: Re: runmqdlq |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
akm.mohan wrote: |
in the rule.txt i gave qname and qmname. No msg was processed. |
Well if all you had in the rules table was the qname and qmgr name of course no msg was processed. Try putting some rules in the table as well!
akm.mohan wrote: |
Need to get msg processed from the dlq. give some info |
All the info is in the part of the Info Centre you didn't read. The rules table is described in 2 sections: 1 describes how to specify the queue manager in the table rather than the command line, the other specifies the various actions you can set up.
If you did in fact put some actions a) why didn't you say so & b) post your rules table. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Mar 02, 2010 9:46 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
c) make sure your rule table ends with an empty line.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
shashivarungupta |
Posted: Tue Mar 02, 2010 11:57 pm Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
|
Back to top |
|
 |
Mr Butcher |
Posted: Wed Mar 03, 2010 12:33 am Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
when messages end up in the dlq, there was a temporary or permanent error. before running the dlq handler, i suggest you check one or more messages from the dlq for the reason code, which you can find inn the dead-letter-header (DLH).
Fix the error first, then run the dlq handler, either with a proper specific rule or with something gobal like "reason(*) action(retry)" or whatever you want the dlq handler to do with your messages..... _________________ Regards, Butcher |
|
Back to top |
|
 |
akm.mohan |
Posted: Wed Mar 10, 2010 9:17 am Post subject: |
|
|
Apprentice
Joined: 07 Oct 2008 Posts: 41
|
sry for the late reply, was on vacation for past 10days. THanks for all your replys
shashivarungupta the link was good.i tried with the RULES.RUL but i dont find any msg getting processed even i dont have any error.when i ran this runmqdlq command the cmd prompt screen was running like anything.in that it says
D:\mw\MQSeries\qmgrs\VEGALDQMP>runmqdlq VEGALDQMP.DEAD.LETTER.QUEUE VEGALDQMP
0<RULES.RUL
D:\mw\MQSeries\qmgrs\VEGALDQMP>runmqdlq VEGALDQMP.DEAD.LETTER.QUEUE VEGALDQMP
0<RULES.RUL
.......
like this the cmd prompt was going on.....
I would like to tell MQ version
Name: WebSphere MQ
Version: 530.7 CSD07
CMVC level: p530-07-L040527
BuildType: IKAP - (Production)
how can we create new blank line.
The reason code for these msg are MQRC_Q_FULL
Last edited by akm.mohan on Wed Mar 10, 2010 9:19 am; edited 1 time in total |
|
Back to top |
|
 |
Vitor |
Posted: Wed Mar 10, 2010 9:19 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
akm.mohan wrote: |
I would like to tell MQ version
Name: WebSphere MQ
Version: 530.7 CSD07
CMVC level: p530-07-L040527
BuildType: IKAP - (Production) |
Apply some maintenance. Seriously.
akm.mohan wrote: |
how can we create new blank line. |
Open the rules file with whatever editor you used to create it, navigate to the end and press enter.
 _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
exerk |
Posted: Wed Mar 10, 2010 12:04 pm Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
akm.mohan wrote: |
...The reason code for these msg are MQRC_Q_FULL |
And if the queue is still full, running the dead-letter handler will have no effect whatsoever... _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
|