Version (MQLONG)
This is the structure version number, and must be one of the following:
- MQMD_VERSION_1
- Version-1 message descriptor structure.
This version is supported in all environments.
- MQMD_VERSION_2
- Version-2 message descriptor structure.
This version is supported in all IBM MQ V6.0 and later environments, plus IBM MQ MQI clients connected to these systems.
Note: When a version-2 MQMD is used, the queue manager performs additional checks on any MQ header structures that might be present at the beginning of the application message data; for further details see the usage notes for the MQPUT call.
Fields that exist only in the more-recent version of the structure are identified as such in the descriptions of the fields. The following constant specifies the version number of the current version:
- MQMD_CURRENT_VERSION
- Current version of message descriptor structure.
This is always an input field. The initial value of this field is MQMD_VERSION_1.
Parent topic: Fields for MQMD