[IBM i]

The Triggering RPG sample programs for IBM i

IBM® MQ for IBM i supplies two Triggering sample programs that are written in ILE/RPG.

The programs are:
AMQ3TRG4
This is a trigger monitor for the IBM i environment. It submits an IBM i job for the application to be started, but this means that there is additional processing cost associated with each trigger message.
AMQ3SRV4
This is a trigger server for the IBM i environment. For each trigger message, this server runs the start command in its own job to start the specified application. The trigger server can call CICS® transactions.

C language versions of these samples are also available as executable programs in library QMQM, called AMQSTRG4 and AMQSERV4.