Author |
Message
|
Praveensc |
Posted: Wed Mar 18, 2009 11:44 am Post subject: fatal flex scanner internal error--end of buffer missed |
|
|
 Novice
Joined: 27 Feb 2008 Posts: 23
|
Hi All,
i am running a ruled table for dead letter queue on a windows machine. Which is using MQ version 6. When i run the command
RUNMQDLQ SYSTEM.DEAD.LETTER.QUEUE QM2 < DLQ.TXT
I am getting an error as
fatal flex scanner internal error--end of buffer missed
Any idea to resolve this issue? |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Mar 18, 2009 11:50 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
I'm guessing that the error message was preceded by a message number, like amqnnnn. Please post the entire error message.
Did you look in the error logs for additional diagnostic information? _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
Praveensc |
Posted: Wed Mar 18, 2009 12:34 pm Post subject: |
|
|
 Novice
Joined: 27 Feb 2008 Posts: 23
|
This is the complete error message
C:\Praveen>RUNMQDLQ SYSTEM.DEAD.LETTER.QUEUE QM2 < DLQ.TXT
parse error on line 1
...REASON
fatal flex scanner internal error--end of buffer missed
The rules table i used is
INPUTQM(QM2) INPUTQ(SYSTEM.DEAD.LETTER.QUEUE) REASON(*) ACTION(RETRY) RETRY(5) ACTION(FWD) DESTQM(QM2) FWDQ(QL3) FWDQM(QM2) HEADER(NO) |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Mar 18, 2009 12:35 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Add a blank line after the rule. |
|
Back to top |
|
 |
Praveensc |
Posted: Wed Mar 18, 2009 12:38 pm Post subject: |
|
|
 Novice
Joined: 27 Feb 2008 Posts: 23
|
After adding blank line i go one more new error
C:\Praveen>RUNMQDLQ SYSTEM.DEAD.LETTER.QUEUE QM2 < dlq.txt
parse error on line 1
...REASON
2009-03-19 02.07.33 AMQ8758: 1 errors detected in input to runmqdlq.
2009-03-19 02.07.33 AMQ8709: Dead-letter queue handler ending. |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Mar 18, 2009 12:42 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
[deleted] _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Last edited by bruce2359 on Wed Mar 18, 2009 12:55 pm; edited 1 time in total |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Mar 18, 2009 12:49 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Try it this way, with the control statement on line 1 and the other stuff on line 2 and beyond:
INPUTQM(QM2) INPUTQ(SYSTEM.DEAD.LETTER.QUEUE)
REASON(*) ACTION(RETRY) RETRY(5) ACTION(FWD) DESTQM(QM2) FWDQ(QL3) FWDQM(QM2) HEADER(NO) _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Mar 18, 2009 12:54 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
The WMQ System Admin manual devotes an entire chapter (Ch. 12) to the dlq handler - with examples of scripts that work. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
Praveensc |
Posted: Wed Mar 18, 2009 12:58 pm Post subject: |
|
|
 Novice
Joined: 27 Feb 2008 Posts: 23
|
Got this error now
C:\Praveen>RUNMQDLQ SYSTEM.DEAD.LETTER.QUEUE QM2 < DLQ.TXT
2009-03-19 02.28.46 AMQ8753: Duplicate parameter(ACTION) found on line 2.
2009-03-19 02.28.46 AMQ8759: Invalid combination of parameters to dead-letter
queue handler on line 2.
2009-03-19 02.28.46 AMQ8758: 2 errors detected in input to runmqdlq.
2009-03-19 02.28.46 AMQ8709: Dead-letter queue handler ending. |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Mar 18, 2009 1:01 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
INPUTQM(QM2) INPUTQ(SYSTEM.DEAD.LETTER.QUEUE)
REASON(*) ACTION(RETRY) RETRY(5) ACTION(FWD) DESTQM(QM2) FWDQ(QL3) FWDQM(QM2) HEADER(NO)
Yes, you have two ACTION parameters. Which do you want: ACTION(RETRY) or ACTION(FWD)? Retry or forward?
Please read the chapter on the dlq handler. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
|