ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Init Queue for Triggering

Post new topic  Reply to topic
 Init Queue for Triggering « View previous topic :: View next topic » 
Author Message
i.x
PostPosted: Thu Mar 17, 2005 3:02 am    Post subject: Init Queue for Triggering Reply with quote

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
View user's profile Send private message
Michael Dag
PostPosted: Thu Mar 17, 2005 3:35 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

What platform?
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
i.x
PostPosted: Thu Mar 17, 2005 3:50 am    Post subject: Reply with quote

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
View user's profile Send private message
Michael Dag
PostPosted: Thu Mar 17, 2005 4:06 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
i.x
PostPosted: Thu Mar 17, 2005 4:14 am    Post subject: Reply with quote

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
View user's profile Send private message
Michael Dag
PostPosted: Thu Mar 17, 2005 4:22 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
i.x
PostPosted: Thu Mar 17, 2005 4:37 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Init Queue for Triggering
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.