Overview for MQOR
Availability: The MQOR structure is available on the following platforms:
- AIX
- IBM i
- Linux
- Windows
and for IBM MQ MQI clients connected to these systems.
Purpose: Use the MQOR structure to specify the queue name and queue manager name of a single destination queue. MQOR is an input structure for the MQOPEN and MQPUT1 calls.
Character set and encoding: Data in MQOR must be in the character set given by the CodedCharSetId queue manager attribute and encoding of the local queue manager given by MQENC_NATIVE. However, if the application is running as an MQ MQI client, the structure must be in the character set and encoding of the client.
Usage: By providing an array of these structures on the MQOPEN call, we can open a list of queues; this list is called a distribution list. Each message put using the queue handle returned by that MQOPEN call is placed on each of the queues in the list, provided that the queue was opened successfully.
Parent topic: MQOR - Object record