Distribution lists
![[V9.0.1 Nov 2016]](../common/../com.ibm.mq.dev.doc/ng901.gif)
When an MQOPEN call is issued, generic information is taken from the Object Descriptor (MQOD). If you specify MQOD_VERSION_2 in the Version field and a value greater than zero in the RecsPresent field, the Hobj can be defined as a handle of a list (of one or more queues) rather than of a queue. In this case, specific information is given through the object records (MQORs), which give details of destination (that is, ObjectName and ObjectQMgrName).
The object handle (Hobj) is passed to the MQPUT call, allowing you to put to a list rather than to a single queue.
When a message is put on the queues (MQPUT), generic information is taken from the Put Message Option structure (MQPMO) and the Message Descriptor (MQMD). Specific information is given in the form of Put Message Records (MQPMRs).
Response Records (MQRR) can receive a completion code and reason code specific to each destination queue.
