Constructing encodings

To construct a value for the Encoding field in MQMD, the relevant constants that describe the required encodings can be added together (do not add the same constant more than once), or combined using the bitwise OR operation (if the programming language supports bit operations).

Whichever method is used, combine only one of the MQENC_INTEGER_* encodings with one of the MQENC_DECIMAL_* encodings and one of the MQENC_FLOAT_* encodings.

Parent topic: Machine encodings