Machine encodings
This section describes the structure of the Encoding field in the message descriptor.
See MQMD - Message descriptor for a summary of the fields in the structure.
The Encoding field is a 32-bit integer that is divided into four separate subfields; these subfields identify:- The encoding used for binary integers
- The encoding used for packed-decimal integers
- The encoding used for floating-point numbers
- Reserved bits
- MQENC_INTEGER_MASK
- Mask for binary-integer encoding.
This subfield occupies bit positions 28 through 31 within the Encoding field.
- MQENC_DECIMAL_MASK
- Mask for packed-decimal-integer encoding.
This subfield occupies bit positions 24 through 27 within the Encoding field.
- MQENC_FLOAT_MASK
- Mask for floating-point encoding.
This subfield occupies bit positions 20 through 23 within the Encoding field.
- MQENC_RESERVED_MASK
- Mask for reserved bits.
This subfield occupies bit positions 0 through 19 within the Encoding field.