MQOPEN option for browsing messages

To open a queue so that we can browse the messages on it, use the MQOPEN call with the MQOO_BROWSE option.

This creates a browse cursor that the queue manager uses to identify the next message on the queue. For more information, see Browsing messages on a queue. Note:
  1. We cannot browse messages on a remote queue; do not open a remote queue using the MQOO_BROWSE option.
  2. We cannot specify this option when opening a distribution list. For further information about distribution lists, see Distribution lists.
  3. Use the MQOO_CO_OP in conjunction with MQOO_BROWSE if we are using cooperative browsing; see Options

Parent topic: Use the options of the MQOPEN call