Overview

Purpose: The MQOD structure is used to specify an object by name. The following types of object are valid:

The structure is an input/output parameter on the MQOPEN and MQPUT1 calls.

Version: The current version of MQOD is ODVER3. Fields that exist only in the more-recent versions of the structure are identified as such in the descriptions that follow.

The COPY file provided contains the most recent version of MQOD that is supported by the environment, but with the initial value of the ODVER field set to ODVER1. To use fields that are not present in the version-1 structure, the application must set the ODVER field to the version number of the version required.

To open a distribution list, ODVER must be ODVER2 or greater.

Character set and encoding: Data in MQOD must be in the character set and encoding of the local queue manager; these are given by the CodedCharSetId queue manager attribute and ENNAT, respectively. However, if the application is running as an MQ client, the structure must be in the character set and encoding of the client.