Home
Elementary data types
The data types used in the MQI (or in exit functions) are either:
- Elementary data types, or
- Aggregates of elementary data types (arrays or structures)
The following elementary data types are used in the MQI (or in exit functions):
- MQBYTE - Byte
- MQBYTEn - String of n bytes
- MQCHAR - Single-byte character
- MQCHARn - String of n single-byte characters
- MQHCONN - Connection handle
- MQINT32 - 32-bit integer
- MQINT64 - 64-bit integer
- MQHOBJ - Object handle
- MQLONG - Long integer
- MQPID - Process Id
- MQPTR - Pointer
- MQTID - Thread Id
- MQUINT32 - 32-bit unsigned integer
- MQUINT64 - 64-bit unsigned integer
- MQULONG - unsigned long integer
- PMQACH - A pointer to a data structure of type MQACH
- PMQAIR - A pointer to a data structure of type MQAIR
- PMQAXC - A pointer to a data structure of type MQAXC
- PMQAXP - A pointer to a data structure of type MQAXP
- PMQBO - A pointer to a data structure of type MQBO
- PMQBYTE - A pointer to data of type MQBYTE
- PMQBYTEn - A pointer to a data type of MQBYTEn, where n can be 8, 16, 24, 32, 40, 128
- PMQCHARn - A pointer to a data type of MQCHARn, where n can be 4, 8, 12, 20, 28, 32, 48, 64, 128, 256, 264
- PMQCIH - A pointer to a data structure of type MQCIH
- PMQCNO - A pointer to a data structure of type MQCNO
- PMQDLH - A pointer to a data structure of type MQDLH
- PMQFUNC - A pointer to a function
- PMQGMO - A pointer to a data structure of type MQGMO
- PMQHCONFIG - A pointer to a data type of MQHCONFIG
- PMQHCONN - A pointer to a data type of MQHCONN
- PMQHOBJ - A pointer to a data type of MQHOBJ
- PMQIIH - A pointer to a data structure of type MQIIH
- PMQINT64 - A pointer to a data type of MQINT64
- PMQLONG - A pointer to a data type of MQLONG
- PMQMD - A pointer to structure of type MQCMD
- PMQMD1 - A pointer to a data structure of type MQMD1
- PMQMDE - A pointer to a data structure of type MQMDE
- PMQOD - A pointer to a data structure of type MQOD
- PMQPMO - A pointer to a data structure of type MQPMO
- PMQPTR - A pointer to a data type of MQPTR
- PMQRFH - A pointer to a data structure of type MQRFH
- PMQRFH2 - A pointer to a data structure of type MQRFH2
- PMQRMH - A pointer to a data structure of type MQRMH
- PMQTM - A pointer to a data structure of type MQTM
- PMQTMC2 - A pointer to a data structure of type MQTMC2
- PMQUINT64 - A pointer to a data type of MQUINT64
- PMQULONG - A pointer to a data type of MQULONG
- PMQVOID - A pointer
- PMQWIH - A pointer to a data structure of type MQWIH
- PMQXQH - A pointer to a data structure of type MQXQH
These are described in detail below, followed by examples showing how to declare the elementary data types in the supported programming languages.
Home