Author |
Message
|
i.x |
Posted: Thu Mar 17, 2005 3:02 am Post subject: Init Queue for Triggering |
|
|
Apprentice
Joined: 11 Aug 2004 Posts: 26
|
Hello Guys,
a little question for you
If i have a Trigger Initiation Queue for more queues (for example 2).
And one script hangs up by moving messages from one queue to another, and the other scripts for the secound queue should be triggerd, is it possible that there can be coming up some errors triggering the 2nd script..
for example
Init Queue: LOCAL.TRIG
QUEUE 1: LOCAL.Q1 -> trigger first -> SCRIPT: SCRIPT.1
QUEUE 2: LOCAL.Q2 -> trigger first -> SCRIPT: SCRIPT.2
Both queues are set to the Init QUEUE LOCAL.TRIG.
Now one message comes into LOCAL.Q1 and the SCRIPT.1 is triggerd. Maybe the scripts crashed or runs in an endless loop, so that it runs all the time.
Then in LOCAL.Q2 comes a message, and now my question:
Is it possible that the SCRIPT.2 is not triggerd correctly or sometimes with some delay if the SCRIPT.1 is running all the time?
Can the trigger monitor handle this problem or is it confused, because of the other script did not end?
Thanks  |
|
Back to top |
|
 |
Michael Dag |
Posted: Thu Mar 17, 2005 3:35 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
|
Back to top |
|
 |
i.x |
Posted: Thu Mar 17, 2005 3:50 am Post subject: |
|
|
Apprentice
Joined: 11 Aug 2004 Posts: 26
|
MichaelDag wrote: |
What platform? |
ohh sorry Windows 2000 Advanced Server
MQ V 5.3 - CSD09 |
|
Back to top |
|
 |
Michael Dag |
Posted: Thu Mar 17, 2005 4:06 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
Do you use "start" to start your scripts asynchronous?
if not then if script1 "hangs" then script2 will never fire, you could check the curdepth of LOCAL.TRIG _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
i.x |
Posted: Thu Mar 17, 2005 4:14 am Post subject: |
|
|
Apprentice
Joined: 11 Aug 2004 Posts: 26
|
MichaelDag wrote: |
Do you use "start" to start your scripts asynchronous?
if not then if script1 "hangs" then script2 will never fire, you could check the curdepth of LOCAL.TRIG |
That is what i mean
There is one message standing in LOCAL.TRIG.....
what dou you mean with start? i put in a process which is triggered, an this process starts a perl script with "C:\perl\perl.exe perl.script" |
|
Back to top |
|
 |
Michael Dag |
Posted: Thu Mar 17, 2005 4:22 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
"start C:\perl\perl.exe perl.script"
try it in a command window and it will fire another one in the background
see windows help start for more details and options _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
i.x |
Posted: Thu Mar 17, 2005 4:37 am Post subject: |
|
|
Apprentice
Joined: 11 Aug 2004 Posts: 26
|
MichaelDag wrote: |
"start C:\perl\perl.exe perl.script"
try it in a command window and it will fire another one in the background
see windows help start for more details and options |
and this could solve the problem
thanks  |
|
Back to top |
|
 |
|