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:
- ReadDecimal2 method
- ReadDecimal4 method
- ReadDouble method
- ReadDouble4 method
- ReadFloat method
- ReadInt2 method
- ReadInt4 method
- ReadLong method
- ReadShort method
- ReadUInt2 method
- WriteDecimal2 method
- WriteDecimal4 method
- WriteDouble method
- WriteDouble4 method
- WriteFloat method
- WriteInt2 method
- WriteInt4 method
- WriteLong method
- WriteShort method
- WriteUInt2 method
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.