Posted: Tue Dec 11, 2007 12:19 pm Post subject: Trigger a process on an AIX client
Acolyte
Joined: 23 Jul 2002 Posts: 61 Location: toronto
Hello ... and I do appreciate a reply, ideas or comments of any kind ...
Here is the situation:
an AIX server with MQ Client it does MQ Puts and MQ Gets to/from the famous request queue and response queue ... Can I define a trigger (first) that starts a process on that server? Would that work? The process is a C binary with embedded MQ API and SQLs against ocal UDB.
Of course the queue is local (to the AIX server that hosts the MQ Manager) but the process must run on the AIX server where the database is.
Do you see any show stoppers in this design ... I will set up a testing environment and try it out but I thought I give your collective wisdom a shout first to learn.
Joined: 11 Apr 2005 Posts: 663 Location: Center of the USA
mikiu wrote:
... Can I define a trigger (first) that starts a process on that server? Would that work? ...
In a word, YES. Read the section in the Intercommunication manual on triggering. _________________ IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer
The default, supplied trigger monitors (runmqtrm and runmqtrc) can only start programs that are on the same machine that they are running on.
You can easily write your own trigger monitor that will do whatever you want it to do, when a trigger message arrives on an initiation queue. _________________ I am *not* the model of the modern major general.
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