JMS_IBM_ENCODING

    Data type:
    System.Int32

    Property of:
    Message

How numerical data in the body of the message is represented when the XMS client forwards the message to its intended destination. This property overrides any encoding specified for the destination by the XMSC_WMQ_ENCODING property. The property specifies the representation of binary integers, packed decimal integers, and floating point numbers.

The valid values of the property are the same as the values that can be specified in the Encoding field of a message descriptor.

An application can use the following named constants to set the property:

Named constant Meaning
MQENC_INTEGER_NORMAL Normal integer encoding
MQENC_INTEGER_REVERSED Reversed integer encoding
MQENC_DECIMAL_NORMAL Normal packed decimal encoding
MQENC_DECIMAL_REVERSED Reversed packed decimal encoding
MQENC_FLOAT_IEEE_NORMAL Normal IEEE floating point encoding
MQENC_FLOAT_IEEE_REVERSED Reversed IEEE floating point encoding
MQENC_FLOAT_S390 z/OS architecture floating point encoding
MQENC_NATIVE Native machine encoding
To form a value for the property, the application can add three of these constants as follows:

  • A constant whose name commences with MQENC_INTEGER, to specify the representation of binary integers
  • A constant whose name commences with MQENC_DECIMAL, to specify the representation of packed decimal integers
  • A constant whose name commences with MQENC_FLOAT, to specify the representation of floating point numbers

Alternatively, the application can set the property to MQENC_NATIVE, whose value is environment-dependent.

By default, the property is not set.

This property is not relevant when an application connects to a service integration bus.

Parent topic: Property definitions