When you specify an options record as a property of an MQ record, you are referring to a variable that uses a working storage record part (like MQOD) as a typeDef. The part resides in an EGL file that is provided with the product, as described in MQSeries support. Instead of using the record part as is, you can copy it into your own EGL file and customize the part.
If you do not indicate that a given options record is in use, EGL builds a default record and assigns values, as described in the following sections. The default options records are not available, however, when you access MQSeries without using MQ records.
MQOO_OUTPUT + MQOO_FAIL_IF_QUIESCING
MQOO_INPUT_EXCLUSIVE + MQOO_FAIL_IF_QUIESCING
MQOO_INPUT_SHARED + MQOO_FAIL_IF_QUIESCING
MQCO_NONE
You can create a message descriptor record based on the MQSeries Message Descriptor (MQMD), which is a parameter on MQGET and MQPUT calls. If you do not declare a message descriptor record, EGL automatically builds a default named MQMD and initializes that record with the values listed in Data initialization.
Related concepts
Direct MQSeries calls
MQSeries-related EGL keywords
MQSeries support
Related reference
Data initialization
recordName.resourceAssociation
MQ record properties