MQENC_* (Encoding)

MQENC_* (Encoding)

Table 1. Values of constants by platform
Name Platform Decimal value Hexadecimal value
MQENC_NATIVE IBM® i 273 X'00000111'
Linux® 546 X'00000222'
Linux on SPARC 273 X'00000111'
Linux on x86 546 X'00000222'
AIX® and Linux 273 X'00000111'
Windows 546 X'00000222'
Micro Focus COBOL on Windows 17 X'00000011'
z/OS® 785 X'00000311'

MQENC_* (Encoding Masks)

Table 2. Values of constants
Name Decimal value Hexadecimal value
MQENC_INTEGER_MASK 15 X'0000000F'
MQENC_DECIMAL_MASK 240 X'000000F0'
MQENC_FLOAT_MASK 3840 X'00000F00'
MQENC_RESERVED_MASK -4096 X'FFFFF000'

MQENC_* (Encodings for Binary Integers)

Table 3. Values of constants
Name Decimal value Hexadecimal value
MQENC_INTEGER_UNDEFINED 0 X'00000000'
MQENC_INTEGER_NORMAL 1 X'00000001'
MQENC_INTEGER_REVERSED 2 X'00000002'

MQENC_* (Encodings for Packed Decimal Integers)

Table 4. Values of constants
Name Decimal value Hexadecimal value
MQENC_DECIMAL_UNDEFINED 0 X'00000000'
MQENC_DECIMAL_NORMAL 16 X'00000010'
MQENC_DECIMAL_REVERSED 32 X'00000020'

MQENC_* (Encodings for Floating Point Numbers)

Table 5. Values of constants
Name Decimal value Hexadecimal value
MQENC_FLOAT_UNDEFINED 0 X'00000000'
MQENC_FLOAT_IEEE_NORMAL 256 X'00000100'
MQENC_FLOAT_IEEE_REVERSED 512 X'00000200'
MQENC_FLOAT_S390 768 X'00000300'
MQENC_FLOAT_TNS 1024 X'00000400'