Posted: Fri Oct 15, 2004 1:28 am Post subject: Trigger Management.
Voyager
Joined: 24 Nov 2003 Posts: 79 Location: UK
Hello everybody.
I am currently replacing third party software that transfers messages from MQSeries onto the AS400.
I am using a modified vesion of the IBM Sample program AMQ3TRG4 in conjuction AMQ3GET4 and it works very well.
However I am unsure what the best way to manage the trigger process. At the moment I am considering submitting the Trigger monitor command as part of a subsystem which can be monitored and if it falls over an alert would be raised.
However I can't find a way of stopping the monitor! The only way I can think to this is to end the subsystem. Is there a cleaner way to this?
Hi,
the documentation (iSeries Application Programming Reference) says:
Ending the Triggering sample programs
A trigger monitor program can be ended by the sysrequest option 2 (ENDRQS) or
by inhibiting gets from the trigger queue. If the sample trigger queue is used the command is:
CHGMQMQ QNAME('SYSTEM.SAMPLE.TRIGGER') GETENBL(*NO)
Note:
To start triggering again on this queue, you must enter the command:
CHGMQMQ QNAME('SYSTEM.SAMPLE.TRIGGER') GETENBL(*YES)
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