|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
runmqdlq parser error |
« View previous topic :: View next topic » |
Author |
Message
|
PeterPotkay |
Posted: Mon Dec 01, 2008 10:42 am Post subject: runmqdlq parser error |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
MQ 6.0.2.5
Windows 2003
The contents of DLQ_IN.txt are:
Quote: |
INPUTQM(HIGIDGL1) INPUTQ(SYSTEM.DEAD.LETTER.QUEUE)
REASON(MQRC_Q_FULL) ACTION(RETRY) RETRY(5) |
Code: |
D:\>runmqdlq <DLQ_IN.txt
parse error on line 2
...2008-12-01 13.34.36 AMQ8758: 1 errors detected in input to runmqdlq.
2008-12-01 13.34.36 AMQ8709: Dead-letter queue handler ending.
D:\> |
What the heck is this thing complaining about on line 2? I'm using this as a guide:
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/topic/com.ibm.mq.amqzag.doc/fa14100_.htm
My DLQ has some messages that went there due to the app q filling and I want to replay them. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
exerk |
Posted: Mon Dec 01, 2008 11:40 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Peter,
Did you include a carriage return after the last line? I ask because I just dug out an old rules file I created years ago, and it contains:
Quote: |
! ! ! ! ! ! ! ! ! ! ! ! ! ! W A R N I N G ! ! ! ! ! ! ! ! ! ! ! ! ! !
*
* IF CONTROL DATA ENTRY IS TO BE INCLUDED IN THE RULES TABLE, IT MUST
*
* BE THE FIRST ENTRY IN THE TABLE
*
* SYNTAX ERRORS WILL OCCUR IF THE LAST RULE IN THE RULE TABLE IS !NOT!
*
* TERMINATED WITH A CARRIAGE/LINE RETURN.
*
* ! ! ! ! ! ! ! ! ! ! ! ! ! ! W A R N I N G ! ! ! ! ! ! ! ! ! ! ! ! ! ! |
Also, I have this on the INPUTQM line: RETRYINT(1) WAIT(NO) _________________ 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 |
|
 |
Toronto_MQ |
Posted: Mon Dec 01, 2008 11:58 am Post subject: |
|
|
 Master
Joined: 10 Jul 2002 Posts: 263 Location: read my name
|
exerk wrote: |
Did you include a carriage return after the last line? |
I've never really used the DLQ handler so I gave it a try with Peter's config and got the same error as he did. Once I added the carriage return it worked.
Thanks exerk. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Mon Dec 01, 2008 2:33 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Yup, that was it. And there is no mention of that in the Info Center. I submitted feedback asking that this info be included. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
kevinf2349 |
Posted: Tue Dec 02, 2008 6:00 am Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
Maybe the request should be to remove the requirement in the first place?
[Edit]
Although I do accept that if the requirement is there then, at the very least, it should be documented. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|