Field data types

Each field in the MQeFields object is tagged with one of the data types defined below. The size of a single element of the data type is specified below.


Type Value Data Representation
MQE_TYPE_UNTYPED 0xC0 1 byte (8 bits)
MQE_TYPE_ASCII 0xC1 1 byte (8 bits)
MQE_TYPE_UNICODE 0xC2 2 byte (16 bits)
MQE_TYPE_BOOLEAN 0xC3 1 byte (8 bits)
MQE_TYPE_BYTE 0xC4 1 byte (8 bits)
MQE_TYPE_SHORT 0xC5 2 byte (16 bits)
MQE_TYPE_INT 0xC6 4 byte (32 bits)
MQE_TYPE_LONG 0xC7 4 byte (32 bits)
MQE_TYPE_FLOAT 0xC8 4 byte (32 bits)
MQE_TYPE_DOUBLE 0xC9 8 byte (64 bit)
MQE_TYPE_ARRAYELEMENTS 0xCA 4 byte (32 bits)
MQE_TYPE_FIELDS 0xCB 4 byte (a handle) (32 bits)



© IBM Corporation 2002. All Rights Reserved