C declarations

Data type Representation
MQBOOL
typedef MQLONG MQBOOL;
MQBYTE
typedef unsigned char MQBYTE;
MQBYTE8
typedef MQBYTE MQBYTE8[8];
MQBYTE16
typedef MQBYTE MQBYTE16[16];
MQBYTE24
typedef MQBYTE MQBYTE24[24];
MQBYTE32
typedef MQBYTE MQBYTE32[32];
MQBYTE40
typedef MQBYTE MQBYTE40[40];
MQCHAR
typedef char MQCHAR;
MQCHAR4
typedef MQCHAR MQCHAR4[4];
MQCHAR8
typedef MQCHAR MQCHAR8[8];
MQCHAR12
typedef MQCHAR MQCHAR12[12];
MQCHAR20
typedef MQCHAR MQCHAR20[20];
MQCHAR28
typedef MQCHAR MQCHAR28[28];
MQCHAR32
typedef MQCHAR MQCHAR32[32];
MQCHAR48
typedef MQCHAR MQCHAR48[48];
MQCHAR64
typedef MQCHAR MQCHAR64[64];
MQCHAR128
typedef MQCHAR MQCHAR128[128];
MQCHAR256
typedef MQCHAR MQCHAR256[256];
MQFLOAT32
typedef float MQFLOAT32;
MQFLOAT64
typedef double MQFLOAT64;
MQHCONFIG
typedef void MQPOINTER MQHCONFIG;
MQHCONN
typedef MQLONG MQHCONN;
MQHOBJ
typedef MQLONG MQHOBJ;
MQINT8
typedef signed char MQINT8;
MQINT16
typedef short MQINT16;
MQINT64 On 64-bit UNIX:
typedef long;
On 32-bit AIX :
typedef int64_t;
On Linux, IBM i, and z/OS :
typedef long long;
On Windows:
typedef _int64;
MQLONG On IBM i:
typedef long MQLONG;
On other platforms:
if defined(MQ_64_BIT)
	typedef int MQLONG;
else
	typedef long MQLONG;
MQPID
typedef MQLONG MQPID;
MQPTR
typedef void MQPOINTER MQPTR;
MQTID
typedef MQLONG MQTID;
MQUINT8
typedef unsigned char MQUINT8;
MQUINT16
typedef unsigned short MQUINT16;
MQUINT64 On 64-bit UNIX:
typedef unsigned long;
On 32-bit AIX:
typedef uint64_t;
On Linux, IBM i, and z/OS:
typedef unsigned long long;
On Windows:
typedef unsigned _int64;
MQULONG On IBM i:
typedef unsigned long MQULONG;
On other platforms:
if defined(MQ_64_BIT)
	typedef unsigned int MQULONG;
else
	typedef unsigned long MQULONG;
PMQBO
typedef MQBO MQPOINTER PMQBO;
PMQBOOL
typedef MQBOOL MQPOINTER PMQBOOL;
PMQBYTE
typedef MQBYTE MQPOINTER PMQBYTE;
PMQBYTE8
typedef MQBYTE8[8] MQPOINTER PMQBYTE8[8];
PMQBYTE16
typedef MQBYTE16[16] MQPOINTER PMQBYTE16[16];
PMQBYTE24
typedef MQBYTE24[24] MQPOINTER PMQBYTE24[24];
PMQBYTE32
typedef MQBYTE32[32] MQPOINTER PMQBYTE32[32];
PMQBYTE40
typedef MQBYTE40[40] MQPOINTER PMQBYTE40[40];
PMQBYTE128
typedef MQBYTE128[128] MQPOINTER PMQBYTE128[128];
PMQCHAR
typedef MQCHAR MQPOINTER PMQCHAR;
PMQCHAR4
typedef MQCHAR4[4] MQPOINTER PMQCHAR4[4];
PMQCHAR8
typedef MQCHAR8[8] MQPOINTER PMQCHAR8[8];
PMQCHAR12
typedef MQCHAR12[12] MQPOINTER PMQCHAR12[12];
PMQCHAR20
typedef MQCHAR20[20] MQPOINTER PMQCHAR20[20];
PMQCHAR28
typedef MQCHAR28[28] MQPOINTER PMQCHAR28[28];
PMQCHAR32
typedef MQCHAR32[32] MQPOINTER PMQCHAR32[32];
PMQCHAR48
typedef MQCHAR48[48] MQPOINTER PMQCHAR48[48];
PMQCHAR64
typedef MQCHAR64[64] MQPOINTER PMQCHAR64[64];
PMQCHAR128
typedef MQCHAR128[128] MQPOINTER PMQCHAR128[128];
PMQCHAR256
typedef MQCHAR256[256] MQPOINTER PMQCHAR256[256];
PMQCHAR264
typedef MQCHAR264[264] MQPOINTER PMQCHAR264[264];
PMQCIH
typedef MQCIH MQPOINTER PMQCIH;
PMQCNO
typedef MQCNO MQPOINTER PMQCNO;
PMQDLH
typedef MQDLH MQPOINTER PMQDLH;
PMQFUNC
typedef void MQPOINTER PMQFUNC;
PMQFLOAT32
typedef MQFLOAT32 MQPOINTER PMQFLOAT32;
PMQFLOAT64
typedef MQFLOAT64 MQPOINTER PMQFLOAT64;
PMQGMO
typedef MQGMO MQPOINTER PMQGMO;
PMQHCONFIG
typedef MQHCONFIG MQPOINTER PMQHCONFIG;
PMQHCONN
typedef MQHCONN MQPOINTER PMQHCONN;
PMQHOBJ
typedef MQHOBJ MQPOINTER PMQHOBJ;
PMQIIH
typedef MQIIH MQPOINTER PMQIIH;
PMQINT8
typedef MQINT8 MQPOINTER PMQINT8;
PMQINT16
typedef MQINT16 MQPOINTER PMQINT16;
PMQLONG
typedef MQLONG MQPOINTER PMQLONG;
PMQMD
typedef MQMD MQPOINTER PMQMD;
PMQMD1
typedef MQMD1[1] MQPOINTER PMQMD1[1];
PMQMDE
typedef MQMDE MQPOINTER PMQMDE;
PMQOD
typedef MQOD MQPOINTER PMQOD;
PMQPMO
typedef MQPMO MQPOINTER PMQPMO;
PMQPTR
typedef MQPTR MQPOINTER PMQPTR;
PMQRFH
typedef MQRFH MQPOINTER PMQRFH;
PMQRFH2
typedef MQRFH2[2] MQPOINTER PMQRFH2[2];
PMQRMH
typedef MQRMH MQPOINTER PMQRMH;
PMQTM
typedef MQTM MQPOINTER PMQTM;
PMQTMC2
typedef MQTMC2[2] MQPOINTER PMQTMC2[2];
PMQUINT8
typedef MQUINT8 MQPOINTER PMQUINT8;
PMQUINT16
typedef MQUINT16 MQPOINTER PMQUINT16;
PMQULONG
typedef MQULONG MQPOINTER PMQULONG;
PMQVOID
typedef void MQPOINTER PMQVOID;
PMQWIH
typedef MQWIH MQPOINTER PMQWIH;
PMQXQH
typedef MQXQH MQPOINTER PMQXQH;
PPMQBO
typedef PMQBO MQPOINTER PPMQBO;
PPMQBYTE
typedef PMQBYTE MQPOINTER PPMQBYTE;
PPMQCHAR
typedef PMQCHAR MQPOINTER PPMQCHAR;
PPMQCNO
typedef PMQCNO MQPOINTER PPMQCNO;
PPMQGMO
typedef PMQGMO MQPOINTER PPMQGMO;
PPMQHCONN
typedef PMQHCONN MQPOINTER PPMQHCONN;
PPMQHOBJ
typedef PMQHOBJ MQPOINTER PPMQHOBJ;
PPMQLONG
typedef PMQLONG MQPOINTER PPMQLONG;
PPMQMD
typedef PMQMD MQPOINTER PPMQMD;
PPMQOD
typedef PMQOD MQPOINTER PPMQOD;
PPMQPMO
typedef PMQPMO MQPOINTER PPMQPMO;
PPMQULONG
typedef PMQULONG MQPOINTER PPMQULONG;
PPMQVOID
typedef PMQVOID MQPOINTER PPMQVOID;
Where defined(MQ_64_BIT) means a 64 bit platform.

See Data types for a description of the MQPOINTER macro variable.

Parent topic: Elementary data types