TriggerType (10-digit signed integer) on IBM i
Trigger type.
Local | Model | Alias | Remote | Cluster |
---|---|---|---|---|
X | X |
- TTNONE
- No trigger messages.
No trigger messages are written as a result of messages on this queue. This has the same effect as setting TriggerControl to TCOFF.
- TTFRST
- Trigger message when queue depth goes from 0 to 1.
A trigger message is written whenever the number of messages of priority TriggerMsgPriority or greater on the queue changes from 0 to 1.
- TTEVRY
- Trigger message for every message.
A trigger message is written whenever a message of priority TriggerMsgPriority or greater arrives on the queue.
- TTDPTH
- Trigger message when depth threshold exceeded.
A trigger message is written whenever the number of messages of priority TriggerMsgPriority or greater on the queue equals or exceeds TriggerDepth. After the trigger message has been written, TriggerControl is set to TCOFF to prevent further triggering until it is explicitly turned on again.
To determine the value of this attribute, use the IATRGT selector with the MQINQ call. To change the value of this attribute, use the MQSET call.
Parent topic: Attributes for queues