Re: Why runmqdlq is not doing its job? RESOLVED

2003-06-24 Thread McCarty, Brian
OK...cool...glad it's working now.

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:   Tuesday, June 24, 2003 10:09 AM
To: [EMAIL PROTECTED]
Subject: Re: Why runmqdlq is not doing its job? RESOLVED

Thanks Stefan and everyone else who responded. My
problem was not acutally hitting the  key at
the end of each line...

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


Re: Why runmqdlq is not doing its job?

2003-06-24 Thread McCarty, Brian
Ohm, I didn't mean actually type "", I was just demonstrating that you 
should make sure add another line at the bottom of your rules file.  Hope that wasn't 
confusing.



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:   Tuesday, June 24, 2003 6:38 AM
To: [EMAIL PROTECTED]
Subject:     Re: Why runmqdlq is not doing its job?

I have 2 lines in my rule table (one for control info,
the other for a rule). I put  at the end
of each one.

1- I get the syntax error on the 1st line. (on "<")
2- When I remove  from the first line
(but not from the second) I get a syntax err on the
2nd line (on "<"
3- When I remove  from the 2nd line too,
I still get the same syntax err on the 2nd line(same
as #2, but nothing to do with "<") as follows:

syntax error on line 2
...2003-06-24   07.07.00 AMQ8758: 1 errors detected in
input to runmqdl
2003-06-24   07.07.00 AMQ8709: Dead-letter queue
handler ending.

I played around with white spaces and putting qmgr
and/or queue names in single/double quotes, to no
avail.

Thanks for pointing out, but I do know the function of
HEADER(YES|NO). I am only experimenting right now...

Please help...

Best regards,

Ruzi
--- Mqonnet <[EMAIL PROTECTED]> wrote:
> Add a  after the rule
> ACTION(FWD). and it will
> work.
>
> Also remember, if you add HEADER(YES), then the
> message that is moved to Q1
> would have the dlq header ahead of the original
> message put by the app.
>
> Cheers
> Kumar
>
> ---Original Message---
>
> From: MQSeries List
> Date: Monday, June 23, 2003 04:11:12 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Why runmqdlq is not doing its job?
>
> John,
>
>   Here is how my rule table looks like (I did a
> copy/paste):
>
> inputqm (QM1)inputq (QM1.DEAD) WAIT(NO)  return>
> ACTION (FWD) FWDQ (Q1) FWDQM (QM1) HEADER (YES)
>
> And it is still not working. By the way, the
> messages
> DO have the DLH header (as they are generated by the
> qmgr QM1).
>
> Thanks,
>
> Ruzi
>
> --- "Dawson, John" <[EMAIL PROTECTED]>
> wrote:
> > 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  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
> > >
> > > 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=4, Shared). Currently QM1.DEAD has 3
> > > messages on it.
> > >
> > > I have a rule table (mydlq.rul) that just has
> > these
> > > 2
> > > lines in 

Re: Why runmqdlq is not doing its job? RESOLVED

2003-06-24 Thread Ruzi R
Thanks Stefan and everyone else who responded. My
problem was not acutally hitting the  key at
the end of each line...

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


Re: Why runmqdlq is not doing its job?

2003-06-24 Thread Mqonnet






As mentioned earlier, here's what is in my rule table.
 
INPUTQ('MYDEADQ') INPUTQM('TEST') REASON(*) ACTION(FWD) FWDQ('EMPTYQ') + FWDQM('TEST') RETRY(3)
After each line there is an explicit "return or Enter key pressed".  If you are doing this, you should be fine.
 
If the above doesnt work, paste your rule again, "as is" from your rules table.
 
Also as some of the posts made earlier you need to run this as..
 
runmqdlq < dlq.rule (dlq.rule is the rule file here)
 
Cheers
Kumar 
 
---Original Message---
 

From: MQSeries List
Date: Tuesday, June 24, 2003 07:39:59 AM
To: [EMAIL PROTECTED]
Subject: Re: Why runmqdlq is not doing its job?
 
I have 2 lines in my rule table (one for control info,
the other for a rule). I put  at the end
of each one.
 
1- I get the syntax error on the 1st line. (on "<")
2- When I remove  from the first line
(but not from the second) I get a syntax err on the
2nd line (on "<"
3- When I remove  from the 2nd line too,
I still get the same syntax err on the 2nd line(same
as #2, but nothing to do with "<") as follows:
 
syntax error on line 2
2003-06-24 07.07.00 AMQ8758: 1 errors detected in
input to runmqdl
2003-06-24 07.07.00 AMQ8709: Dead-letter queue
handler ending.
 
I played around with white spaces and putting qmgr
and/or queue names in single/double quotes, to no
avail.
 
Thanks for pointing out, but I do know the function of
HEADER(YES|NO). I am only experimenting right now...
 
Please help...
 
Best regards,
 
Ruzi
--- Mqonnet <[EMAIL PROTECTED]> wrote:
> Add a  after the rule
> ACTION(FWD). and it will
> work.
>
> Also remember, if you add HEADER(YES), then the
> message that is moved to Q1
> would have the dlq header ahead of the original
> message put by the app.
>
> Cheers
> Kumar
>
> -------Original Message---
>
> From: MQSeries List
> Date: Monday, June 23, 2003 04:11:12 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Why runmqdlq is not doing its job?
>
> John,
>
> Here is how my rule table looks like (I did a
> copy/paste):
>
> inputqm (QM1)inputq (QM1.DEAD) WAIT(NO) 
> return>
> ACTION (FWD) FWDQ (Q1) FWDQM (QM1) HEADER (YES)
>
> And it is still not working. By the way, the
> messages
> DO have the DLH header (as they are generated by the
> qmgr QM1).
>
> Thanks,
>
> Ruzi
>
> --- "Dawson, John" <[EMAIL PROTECTED]>
> wrote:
> > 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  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
> > >
> > > 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,
> > > qde

Re: Why runmqdlq is not doing its job?

2003-06-24 Thread Ruzi R
I have 2 lines in my rule table (one for control info,
the other for a rule). I put  at the end
of each one.

1- I get the syntax error on the 1st line. (on "<")
2- When I remove  from the first line
(but not from the second) I get a syntax err on the
2nd line (on "<"
3- When I remove  from the 2nd line too,
I still get the same syntax err on the 2nd line(same
as #2, but nothing to do with "<") as follows:

syntax error on line 2
...2003-06-24   07.07.00 AMQ8758: 1 errors detected in
input to runmqdl
2003-06-24   07.07.00 AMQ8709: Dead-letter queue
handler ending.

I played around with white spaces and putting qmgr
and/or queue names in single/double quotes, to no
avail.

Thanks for pointing out, but I do know the function of
HEADER(YES|NO). I am only experimenting right now...

Please help...

Best regards,

Ruzi
--- Mqonnet <[EMAIL PROTECTED]> wrote:
> Add a  after the rule
> ACTION(FWD). and it will
> work.
>
> Also remember, if you add HEADER(YES), then the
> message that is moved to Q1
> would have the dlq header ahead of the original
> message put by the app.
>
> Cheers
> Kumar
>
> ---Original Message---
>
> From: MQSeries List
> Date: Monday, June 23, 2003 04:11:12 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Why runmqdlq is not doing its job?
>
> John,
>
>   Here is how my rule table looks like (I did a
> copy/paste):
>
> inputqm (QM1)inputq (QM1.DEAD) WAIT(NO)  return>
> ACTION (FWD) FWDQ (Q1) FWDQM (QM1) HEADER (YES)
>
> And it is still not working. By the way, the
> messages
> DO have the DLH header (as they are generated by the
> qmgr QM1).
>
> Thanks,
>
> Ruzi
>
> --- "Dawson, John" <[EMAIL PROTECTED]>
> wrote:
> > 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  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
> > >
> > > 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=4, 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?
> >

Re: Why runmqdlq is not doing its job?

2003-06-23 Thread Stefan Sievert
Ruzi,
this might be totally off, but did you actually type "" at the
end of the line? You said you copied/pasted the file, which makes me think
that this is what you did.
I think people meant that you have to hit the ENTER key at every line as you
enter it into your favorite editor, plus add an additional empty line at the
end of the file.
Secondly, I think you need to invoke the dlq handler with the redirection of
stdin, so instead of typing
"Runmqdlq c:\mydlq.rul" you could try to use "Runmqdlq < c:\mydlq.rul"
BTW, that's why the empty line at the end of the file is important, because
otherwise runmqdlq keeps waiting for more input...
Good luck,
Stefan
From: Ruzi R <[EMAIL PROTECTED]>
Reply-To: MQSeries List <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: Why runmqdlq is not doing its job?
Date: Mon, 23 Jun 2003 13:03:46 -0700
John,

 Here is how my rule table looks like (I did a
copy/paste):
inputqm (QM1)inputq (QM1.DEAD) WAIT(NO) 
ACTION (FWD) FWDQ (Q1) FWDQM (QM1) HEADER (YES)
And it is still not working. By the way, the messages
DO have the DLH header (as they are generated by the
qmgr QM1).
Thanks,

Ruzi

--- "Dawson, John" <[EMAIL PROTECTED]>
wrote:
> 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  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
> >
> > 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=4, 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
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
_
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
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


Re: Why runmqdlq is not doing its job?

2003-06-23 Thread Jim Ford
Runmqdlq gets its input from standard input. The example that you show
is specifying the rules table as an argument. Try running:

  Runmqdlq < c:\mydlq.rul
or

  type c:\mydlq.rul | runmqdlq

instead.

> 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?

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


Re: Why runmqdlq is not doing its job?

2003-06-23 Thread Mqonnet






Add a  after the rule ACTION(FWD). and it will work.
 
Also remember, if you add HEADER(YES), then the message that is moved to Q1 would have the dlq header ahead of the original message put by the app.
 
Cheers
Kumar
 
---Original Message---
 

From: MQSeries List
Date: Monday, June 23, 2003 04:11:12 PM
To: [EMAIL PROTECTED]
Subject: Re: Why runmqdlq is not doing its job?
 
John,
 
  Here is how my rule table looks like (I did a
copy/paste):
 
inputqm (QM1)inputq (QM1.DEAD) WAIT(NO) 
ACTION (FWD) FWDQ (Q1) FWDQM (QM1) HEADER (YES)
 
And it is still not working. By the way, the messages
DO have the DLH header (as they are generated by the
qmgr QM1).
 
Thanks,
 
Ruzi
 
--- "Dawson, John" <[EMAIL PROTECTED]>
wrote:
> 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  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
> >
> > 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=4, 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
 
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
.







  IncrediMail - Email has finally evolved - Click Here

Re: Why runmqdlq is not doing its job?

2003-06-23 Thread Ruzi R
John,

 Here is how my rule table looks like (I did a
copy/paste):

inputqm (QM1)inputq (QM1.DEAD) WAIT(NO) 
ACTION (FWD) FWDQ (Q1) FWDQM (QM1) HEADER (YES)

And it is still not working. By the way, the messages
DO have the DLH header (as they are generated by the
qmgr QM1).

Thanks,

Ruzi

--- "Dawson, John" <[EMAIL PROTECTED]>
wrote:
> 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  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
> >
> > 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=4, 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

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


Re: Why runmqdlq is not doing its job?

2003-06-23 Thread Mqonnet






Yes, only when the message has a DLQ header it processes the message and performs the action performed.
 
Here's a sample dlq script that i used long back.
 
Quote "
INPUTQ('DEADQ') INPUTQM('FRED') REASON(*) ACTION(FWD) FWDQ('EMPTYQ') + FWDQM('FRED') RETRY(3)
 
"Unquote
 
Remember to add the carriage return explicitly after the rule.
 
Cheers
Kumar
 
---Original Message---
 

From: MQSeries List
Date: Monday, June 23, 2003 02:44:45 PM
To: [EMAIL PROTECTED]
Subject: Re: Why runmqdlq is not doing its job?
 
How did you put the messages on the dlq? I believe the handler ignores them
if they don't have a dead letter header.
 
Bill
 
William M. Pigg
Bill Pigg/San Jose/IBM
[EMAIL PROTECTED]
408.256.5656 t/l 276.5656
pager: 408-552-0012, http://www.arch.com/message
[EMAIL PROTECTED]
 
 
Ruzi R <[EMAIL PROTECTED]&gt;@AKH-WIEN.AC.AT> on 06/23/2003 10:33:37 AM
 
Please respond to MQSeries List <[EMAIL PROTECTED]>
 
Sent by: MQSeries List <[EMAIL PROTECTED]>
 
 
To: [EMAIL PROTECTED]
cc:
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=4, 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
.







  IncrediMail - Email has finally evolved - Click Here

Re: Why runmqdlq is not doing its job?

2003-06-23 Thread Bill Pigg
How did you put the messages on the dlq? I believe the handler ignores them
if they don't have a dead letter header.

Bill

William M. Pigg
Bill Pigg/San Jose/IBM
[EMAIL PROTECTED]
408.256.5656 t/l 276.5656
pager: 408-552-0012, http://www.arch.com/message
[EMAIL PROTECTED]


Ruzi R <[EMAIL PROTECTED]>@AKH-WIEN.AC.AT> on 06/23/2003 10:33:37 AM

Please respond to MQSeries List <[EMAIL PROTECTED]>

Sent by:MQSeries List <[EMAIL PROTECTED]>


To:[EMAIL PROTECTED]
cc:
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=4, 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


Re: Why runmqdlq is not doing its job?

2003-06-23 Thread Dawson, John
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  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
>
> 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=4, 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


Re: Why runmqdlq is not doing its job?

2003-06-23 Thread Ruzi R
Brian,

I have put  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
>
> 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=4, 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


Re: Why runmqdlq is not doing its job?

2003-06-23 Thread McCarty, Brian
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

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=4, 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


Re: Why runmqdlq is not doing its job?

2003-06-23 Thread Glen Shubert

Are the messages in QM1.DEAD expired?

Glen Shubert
[EMAIL PROTECTED]
Associate Director
TSYS - MQSeries Technical Support






Ruzi R <[EMAIL PROTECTED]>
Sent by: MQSeries List <[EMAIL PROTECTED]>
06/23/2003 01:33 PM
Please respond to MQSeries List


        
        To:        [EMAIL PROTECTED]
        cc:        
        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=4, 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




Why runmqdlq is not doing its job?

2003-06-23 Thread Ruzi R
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=4, 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