Running the AMQSTRG4 sample

 

This is a trigger monitor for the i5/OS environment. It submits one i5/OS job for each application to be started. This means that there is a processing overhead associated with each trigger message.

AMQSTRG4 (in QCSRC) takes two parameters: the name of the initiation queue that it is to serve, and the name of the queue manager (optional). AMQSAMP4 (in QCLSRC) defines a sample initiation queue, SYSTEM.SAMPLE.TRIGGER, that we can use when you try the sample programs.

Using the example trigger queue, the command to issue is:

   CALL PGM(QMQM/AMQSTRG4) PARM('SYSTEM.SAMPLE.TRIGGER')

Alternatively, we can use the CL equivalent STRMQMTRM; see the WebSphere MQ for iSeries System Administration Guide.

 

Parent topic:

The Triggering sample programs


fg17650_