Author |
Message
|
jeevan |
Posted: Tue Feb 21, 2006 3:18 am Post subject: DLQ handling |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
Can someone tell me how to create and associate rules table for dlq handling. |
|
Back to top |
|
 |
wschutz |
Posted: Tue Feb 21, 2006 3:30 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
|
Back to top |
|
 |
jeevan |
Posted: Tue Feb 21, 2006 3:48 am Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
the thining is I read and understood I haved to enter the rules into runmqdlq either by interactingly or in a rules table. but I did not find how I can do that.
I tried runmqdlq ( mqgr, dlq ) but how to mention it that I want to enter the rules in files or by interactingly
thanks |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Feb 21, 2006 4:11 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Try
Code: |
runmqdlq SYSTEM.DEAD.LETTER.QUEUE MYQMGR
# or as an alternative
runmqdlq < myrulesfile.txt |
AND READ THE MANUALS  _________________ MQ & Broker admin |
|
Back to top |
|
 |
jeevan |
Posted: Tue Feb 21, 2006 7:10 am Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
That means, I have to create the rule table and run runmqdlq with the file as an input file.
this will be running in background right?
thanks a lot |
|
Back to top |
|
 |
bbburson |
Posted: Tue Feb 21, 2006 8:58 am Post subject: |
|
|
Partisan
Joined: 06 Jan 2004 Posts: 378 Location: Nowhere near a queue manager
|
jeevan wrote: |
this will be running in background right? |
If you make it a background process it will. |
|
Back to top |
|
 |
HubertKleinmanns |
Posted: Tue Feb 21, 2006 9:42 am Post subject: |
|
|
 Shaman
Joined: 24 Feb 2004 Posts: 732 Location: Germany
|
On Windows the last line of the rules table must be an empty line.
When you run the DLQ handler interactive, the rules will be only processed, when you leave the DLQ handler (e. g. with CTRL-D). _________________ Regards
Hubert |
|
Back to top |
|
 |
jeevan |
Posted: Tue Feb 21, 2006 7:39 pm Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
I GUESS THE SYNTAX TO RUN DLQ WITH RULE TALBE IS
RUNMQDLQ <RULES.TAB
SUPPOSING THE FIRST LINE CONTAINS CONTROL COMMAND - QMGR AND QUEUE NAME.
BUT HOW CAN I RUN IT TO ENTER THE RULE INTERACTIVELY?
THANKS A LOT |
|
Back to top |
|
 |
csmith28 |
Posted: Wed Feb 22, 2006 12:36 am Post subject: |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
The Caps Lock key is on the left side of your keyboard. _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
Biju |
Posted: Wed Feb 22, 2006 1:19 am Post subject: |
|
|
 Acolyte
Joined: 03 Oct 2005 Posts: 71
|
Quote: |
Any INPUTQ value you supply as a parameter to the runmqdlq command overrides any INPUTQ value in the rules table. 2. If you do not specify an INPUTQ value as a parameter to the runmqdlq command, but you do specify a value in the rules table, the INPUTQ value in the rules table is used. 3. If no DLQ is specified or you specify INPUTQ(’ ’) in the rules table, the name of the DLQ belonging to the queue manager whose name is supplied as a parameter to the runmqdlq command is used. 4. If you do not specify an INPUTQ value as a parameter to the runmqdlq command or as a value in the rules table, the DLQ belonging to the queue manager named on the INPUTQM keyword in the rules table is used. |
runmqdlq <DLQ> <QM> would let you enter rules interactively I guess |
|
Back to top |
|
 |
jeevan |
Posted: Thu Feb 23, 2006 8:32 am Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
I got it working now.
thanks |
|
Back to top |
|
 |
|