I'm trying to forward a message to respective queue from my Dead Letter Queue using runmqdlq with the following rules table.
ACTION(FWD) FWDQ(QM2.LOCAL) FWDQM(QM2)
And this is the error I get while i run the script:
parse error on line 1
...2007-09-27 19.11.20 AMQ8758: 1 errors detected in input to runmqdlq.
2007-09-27 19.11.20 AMQ8709: Dead-letter queue handler ending.
Please help, what is wrong with my script???
The developerWorks Connections platform will be sunset on December 31, 2019. On January 1, 2020, this forum will no longer be available. More details available on our FAQ.
Pinned topic whats wrong with runmqdlq script???
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2007-09-30T10:32:10Z at 2007-09-30T10:32:10Z by SystemAdmin
SystemAdmin 110000D4XK8523 Posts
Re: whats wrong with runmqdlq script???2007-09-30T10:32:10ZThis is the accepted answer. This is the accepted answer.Hi All,
My problem has resolved now..
I made small misstake in my rule table..
This is my new rule table..
INPUTQ('SYSTEM.DEAD.LETTER.QUEUE') INPUTQM('QM2') WAIT(YES)
REASON(*) ACTION(FWD) FWDQ('QM2.LOCAL') FWDQM('QM2') HEADER(YES)
and make sure your file has a last line (3rd line here) empty line.
finally the dead letter queue message are forwarded to respective queue which i mentioned in the rule table.
KSH_01 310002R9QA1 Post
Re: whats wrong with runmqdlq script???2019-05-13T00:43:05ZThis is the accepted answer. This is the accepted answer.
you have one local queue mentioned in the rule table, how about if you have 100 queues in the qmgr and how will you handle if the message ended up in DLQ other