Encoding property

Read-write. The MQMD field that identifies the representation used for numeric values in the application message data.

Its initial value is the special value MQENC_NATIVE, which varies by platform.

This property is used by the following methods:

Defined in: MQMessage class

Data Type: Long

Syntax:
To get: encoding& = MQMessage.Encoding
To set: MQMessage.Encoding = encoding&

If you are preparing to write data to the message buffer, you should set this field to match the characteristics of the receiving queue manager platform if the receiving queue manager is incapable of performing its own data conversion.