IC SunsetThe 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.
Topic
  • 2 replies
  • Latest Post - ‏2019-05-13T00:43:05Z by KSH_01
SystemAdmin
SystemAdmin
8523 Posts

Pinned topic whats wrong with runmqdlq script???

‏2007-09-27T13:39:41Z |
Hi all

I'm trying to forward a message to respective queue from my Dead Letter Queue using runmqdlq with the following rules table.

INPUTQ(SYSTEM.DEAD.LETTER.QUEUE) INPUTQM(QM2)
ACTION(FWD) FWDQ(QM2.LOCAL) FWDQM(QM2)

And this is the error I get while i run the script:

C:\>Runmqdlq c:\DD.RUL

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???
Updated on 2007-09-30T10:32:10Z at 2007-09-30T10:32:10Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    8523 Posts

    Re: whats wrong with runmqdlq script???

    ‏2007-09-30T10:32:10Z  
    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.

    Thanks....
  • KSH_01
    KSH_01
    1 Post

    Re: whats wrong with runmqdlq script???

    ‏2019-05-13T00:43:05Z  

    HI

    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

    queue.