Ruzi, The hardest thing that I found about the runmqdlq script file is what Brain stated about hard returns and white spaces. Verify that there is not a hard return after the second line and that there is one after the first line.
HTH, John Dawson -----Original Message----- From: Ruzi R [mailto:[EMAIL PROTECTED] Sent: Monday, June 23, 2003 1:17 PM To: [EMAIL PROTECTED] Subject: Re: Why runmqdlq is not doing its job? Brian, I have put <hard return> at the end of each rule, if that is what you mean. But it is still not working. I cannot pull of any messages at all. And these messages are not expired (expire=unlimited). Ruzi --- "McCarty, Brian" <[EMAIL PROTECTED]> wrote: > Did you put a return in your mydlq.rul file on the > last line? Can you get runmqldq to pull off any > messages at all when using a rules file? When you > run it interactively you have to key control-z, > control-z in order for the commands to be executed. > Put a hard return at the end of your rule and try > again. > > WAIT(NO) ACTION....<hard return> > > Brian M. McCarty > USAA, Senior Systems Programmer > 210.913.1678 > MQ/WMQI Specialist/Solutions Expert > e-business Solution Advisor/Designer/Technologist > > -----Original Message----- > From: Ruzi R [mailto:[EMAIL PROTECTED] > Sent: Monday, June 23, 2003 12:34 PM > To: [EMAIL PROTECTED] > Subject: Why runmqdlq is not doing its > job? > > I am on MQ 5.3 CSD03 on W2K. I have a qmgr QM1 > which > uses QM1.DEAD as its dead letter q. Both QM1.DEAD > and > Q1 are defined as local queues on QM1 (they both > are > put/get enabled, maxmsglenghth = qmgr max length, > qdepth=40000, Shared). Currently QM1.DEAD has 3 > messages on it. > > I have a rule table (mydlq.rul) that just has these > 2 > lines in it just for testing: > > inputqm(QM1) inputq(QM1.DEAD) > > ACTION(FWD) FWDQ(Q1) FWDQM(QM1) HEADER(YES) > > When I run the runmqdlq on the command prompt as: > > Runmqdlq c:\mydlq.rul > > It starts running but QM1.DEAD still has 3 > messages, > as if the runmqdlq is ignoring the action(fwd) > in > the rule table. Why is it not working? > > Thanks, > > Ruzi > > Instructions for managing your mailing list > subscription are provided in > the Listserv General Users Guide available at > http://www.lsoft.com > Archive: http://vm.akh-wien.ac.at/MQSeries.archive > > Instructions for managing your mailing list > subscription are provided in > the Listserv General Users Guide available at > http://www.lsoft.com > Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive