Author |
Message
|
Goodfellas |
Posted: Tue Mar 08, 2011 12:41 pm Post subject: HOW TO SET |
|
|
Acolyte
Joined: 26 Feb 2009 Posts: 70
|
How to Set the .
Last edited by Goodfellas on Tue May 28, 2013 12:05 pm; edited 2 times in total |
|
Back to top |
|
 |
exerk |
Posted: Tue Mar 08, 2011 12:55 pm Post subject: Re: HOW TO SET THE TRIGGER AT QUEUE. |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Two questions, one observation, and absolutely zero sign that you have done any research
To take your questions and observation in order:
Goodfellas wrote: |
How to Set the Trigger Automatically on the Queue at the MQ level. |
What do you mean by "...Automatically on the Queue at the MQ level..."? You set triggering on queues at queue level, but I'll allude to a queue manager setting that can affect all triggered queues, so you go find that in the manual There's a great section on triggering and how to set it up.
Goodfellas wrote: |
Once the Trigger is executed...seeing its changing to NOTRIGGER automatically. |
Working as advertised. Think of how queue high/low events work and you'll get the principle of how triggering on/off works.
Goodfellas wrote: |
How to change to TRIGGER on the Queue Automatically after the trigger executed. |
Depends on your triggering type, so you go find that in the manual too!
Ever thought of reading the manual before posting such inane questions? Maybe doing a little bit of research, or is it your habit to try and get others to do it for you? _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Last edited by exerk on Thu Mar 10, 2011 1:50 am; edited 1 time in total |
|
Back to top |
|
 |
Goodfellas |
Posted: Tue Mar 08, 2011 3:15 pm Post subject: |
|
|
Acolyte
Joined: 26 Feb 2009 Posts: 70
|
doing a little bit
Last edited by Goodfellas on Tue May 28, 2013 12:05 pm; edited 2 times in total |
|
Back to top |
|
 |
bruce2359 |
Posted: Tue Mar 08, 2011 4:33 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Ok. Insert $1 in the slot at the left of this page...
Now... look at the queue definition. Look at TRIGTYPE(). There are a small variety of options for TRIGTYPE. Look at the MQSC manual.
What are the options for TRIGTYPE?
I'm guessing that TRIGTYPE(DEPTH) is specified for the queue in question. Yes? _________________ 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 |
|
 |
exerk |
Posted: Wed Mar 09, 2011 12:16 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Goodfellas wrote: |
...I never worked on Distributed....since 5 years I am totally in MQ clustering and never worked on setting up the Triggering... |
You're probably ahead of the drag curve, there are those whom have the same length of time with the product and never touched clustering.
Goodfellas wrote: |
...I think no question is an inane question... |
It is when there is no evidence of prior research, and the fact that the subject has been done to death on this site.
Goodfellas wrote: |
...and nobody is perfect... |
Absolutely, and I very much include myself - but not Vitor, he's my hero!
Goodfellas wrote: |
...you better think before you reply... |
I did, I can assure you.
Goodfellas wrote: |
...This is the first time I am seeing this kind of reply on MQ Series.net... |
Really? There are quite a few of them in various forums.
Goodfellas wrote: |
...and I think you have fun in responding in a harsh way... |
No, I don't, but like a lot of others I get very frustrated with the apparent lack of basic research - this site is a place of last resort, not first. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
Goodfellas |
Posted: Wed Mar 09, 2011 8:56 am Post subject: |
|
|
Acolyte
Joined: 26 Feb 2009 Posts: 70
|
I configured the
Last edited by Goodfellas on Tue May 28, 2013 12:06 pm; edited 2 times in total |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Mar 09, 2011 9:06 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Quote: |
I configured the TRIGTYPE as "DEPTH" and TRIGDPTH as "5" |
Why did you use TRIGTYPE(DEPTH)? Why didn't you pick one of the other trigtypes?
Did you research what TRIGTYPE(DEPTH) means for mq triggering? This is well documented in the APR and APG manuals. _________________ 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 |
|
 |
gbaddeley |
Posted: Wed Mar 09, 2011 1:49 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
Goodfellas wrote: |
Bruce,
I configured the TRIGTYPE as "DEPTH" and TRIGDPTH as "5"
So the trigger Should fire when the Queue Depth reaches 5 and its working only for the first time.
The trigger is firing and clearing the messages when the queue depth reaches "5" and after that its not working....
The TRIGGER" parameter on the queue is changing to "NOTRIGGER" |
Did you bother to read about how Trigger Depth works? Therein lies a secret you will need to learn.  _________________ Glenn |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Mar 09, 2011 2:17 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Quote: |
I configured the TRIGTYPE as "DEPTH" and TRIGDPTH as "5" |
I asked you why you set depth to 5.
Does your complete business transaction take 5 messages? _________________ 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 |
|
 |
fatherjack |
Posted: Thu Mar 10, 2011 12:38 am Post subject: |
|
|
 Knight
Joined: 14 Apr 2010 Posts: 522 Location: Craggy Island
|
bruce2359 wrote: |
I asked you why you set depth to 5. |
You did indeed. And the OP does not appeared to have responded yet so not sure why you are shouting. _________________ Never let the facts get in the way of a good theory. |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Mar 10, 2011 4:41 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
For emphasis, not shouting. This is SHOUTING.
I was annoyed that when I asked why the OP set DEPTH and 5, the poster replied with depth and 5, and not why. _________________ 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 |
|
 |
fatherjack |
Posted: Thu Mar 10, 2011 5:19 am Post subject: |
|
|
 Knight
Joined: 14 Apr 2010 Posts: 522 Location: Craggy Island
|
bruce2359 wrote: |
For emphasis, not shouting. This is SHOUTING.
I was annoyed that when I asked why the OP set DEPTH and 5, the poster replied with depth and 5, and not why. |
Except he didn't reply. That was someone else simply quoting the OP. _________________ Never let the facts get in the way of a good theory. |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Mar 10, 2011 6:15 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Goodfellas was the OP, and the one that merely restated the choice of DEPTH and 5; but did not explain why that choice was made. _________________ 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 |
|
 |
fatherjack |
Posted: Thu Mar 10, 2011 7:04 am Post subject: |
|
|
 Knight
Joined: 14 Apr 2010 Posts: 522 Location: Craggy Island
|
bruce2359 wrote: |
Goodfellas was the OP |
Yes he was.
bruce2359 wrote: |
and the one that merely restated the choice of DEPTH and 5 |
No he didn't. _________________ Never let the facts get in the way of a good theory. |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Mar 10, 2011 7:08 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Got it. Still waiting to discover why? What business or technical purpose?
DEPTH, and its issues, well documented - here and in IBM doc. _________________ 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 |
|
 |
|