Queue depth events examples
Example 1 - queue depth events
The queue, MYQUEUE1, has a maximum depth of 1000 messages, and the high and low queue depth limits are 80% and 20% respectively. Initially, Queue Depth High events are enabled, while the other queue depth events are disabled.
ALTER QMGR PERFMEV(ENABLED) DEFINE QLOCAL('MYQUEUE1') + MAXDEPTH(1000) + QDPMAXEV(DISABLED) + QDEPTHHI(80) + QDPHIEV(ENABLED) + QDEPTHLO(20) + QDPLOEV(DISABLED)