Trigger type (TRGTYPE)

Specifies the condition that initiates a trigger event. When the condition is true, a trigger message is sent to the initiation queue.

Note: An application program can issue a call to MQSET to change the value of this attribute.

The possible values are:

*SAME

The attribute is unchanged.

*FIRST

When the number of messages on the queue goes from 0 to 1.

*ALL

Every time a message arrives on the queue.

*DEPTH

When the number of messages on the queue equals the value of the TRGDEPTH attribute.

*NONE

No trigger messages are written.