WebSphere Message Service Client for C/C++, Version 2.0.2 Operating Systems: AIX, Linux, Solaris, Windows

JMS_IBM_ENCODING

Data type:
xmsINT
Property of:
Message

How numerical data in the body of the message will be 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. For more information about the Encoding field, see the WebSphere MQ Application Programming Reference.

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 zSeries® (System/390®) architecture floating point encoding
MQENC_NATIVE Native machine encoding
To form a value for the property, the application can add together 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.


Reference topic

Terms of Use | Rate this page

Last updated: 24 May 2011

(C) Copyright IBM Corporation 2005, 2011. All Rights Reserved.