Elementary data types
All of the other data types described in this section equate either directly to these elementary data types, or to aggregates of these elementary data types (arrays or structures).
Data type | Representation |
---|---|
MQBOOL | 10-digit signed integer |
MQBYTE | 1-byte alphanumeric field |
MQBYTE16 | 16-byte alphanumeric field |
MQBYTE24 | 24-byte alphanumeric field |
MQBYTE32 | 32-byte alphanumeric field |
MQBYTE64 | 64-byte alphanumeric field |
MQCHAR | 1-byte alphanumeric field |
MQCHAR4 | 4-byte alphanumeric field |
MQCHAR8 | 8-byte alphanumeric field |
MQCHAR12 | 12-byte alphanumeric field |
MQCHAR16 | 16-byte alphanumeric field |
MQCHAR20 | 20-byte alphanumeric field |
MQCHAR28 | 28-byte alphanumeric field |
MQCHAR32 | 32-byte alphanumeric field |
MQCHAR48 | 48-byte alphanumeric field |
MQCHAR64 | 64-byte alphanumeric field |
MQCHAR128 | 128-byte alphanumeric field |
MQCHAR256 | 256-byte alphanumeric field |
MQFLOAT32 | 4-byte floating-point number |
MQFLOAT64 | 8-byte floating-point number |
MQHCONFIG | Configuration handle |
MQHCONN | 10-digit signed integer |
MQHMSG | Message handle that gives access to a message |
MQHOBJ | 10-digit signed integer |
MQINT8 | 8-bit signed integer |
MQINT16 | 16-bit signed integer |
MQINT32 | 32-bit signed integer |
MQINT64 | 64-bit signed integer |
MQLONG | 32-bit signed integer |
MQPID | Process identifier |
MQPTR | Pointer |
MQTID | Thread identifier |
MQUINT8 | 8-bit unsigned integer |
MQUINT16 | 16-bit unsigned integer |
MQUINT32 | 32-bit unsigned integer |
MQUINT64 | 64-bit unsigned integer |
MQULONG | 32-bit unsigned integer |
PMQACH | Pointer to a data structure of type MQACH |
PMQAIR | Pointer to a data structure of type MQAIR |
PMQAXC | Pointer to a data structure of type MQAXC |
PMAXP | Pointer to a data structure of type MAXP |
PMQBMHO | Pointer to a data structure of type MQBMHO |
PMQBO | Pointer to a data structure of type MQBO |
PMQBOOL | Pointer to data of type MQBOOL |
PMQBYTE | Pointer to data of type MQBYTE |
PMQBYTEn | Pointer to data of type MQBYTEn |
PMQCBC | Pointer to a data structure of type MQCBC |
PMQCBD | Pointer to a data structure of type MQCBD |
PMQCHAR | Pointer to a data structure of type MQCHAR |
PMQCHARV | Pointer to a data structure of type MQCHARV |
PMQCHARn | Pointer to data of type MQCHARn |
PMQCIH | Pointer to a data structure of type MQCIH |
PMQCMHO | Pointer to a data structure of type MQCMHO |
PMQCNO | Pointer to a data structure of type MQCNO |
PMQCSP | Pointer to a data structure of type MQCSP |
PMQCTLO | Pointer to a data structure of type MQCTLO |
PMQDH | Pointer to a data structure of type MQDH |
PMQDHO | Pointer to a data structure of type MQDHO |
PMQDLH | Pointer to a data structure of type MQDLH |
PMQDMHO | Pointer to a data structure of type MQDMHO |
PMQDMPO | Pointer to a data structure of type MQDMPO |
PMQEPH | Pointer to a data structure of type MQEPH |
PMQFLOAT32 | Pointer to data of type MQFLOAT32 |
PMQFLOAT64 | Pointer to data of type MQFLOAT64 |
PMQFUNC | Pointer to a function |
PMQGMO | Pointer to a data structure of type MQGMO |
PMQHCONFIG | Pointer to data of type MQHCONFIG |
PMQHCONN | Pointer to data of type MQHCONN |
PMQHMSG | Pointer to data of type MQHMSG |
PMQHOBJ | Pointer to data of type MQHOBJ |
PMQIIH | Pointer to a data structure of type MQIIH |
PMQIMPO | Pointer to a data structure of type MQIMPO |
PMQINT8 | Pointer to data of type MQINT8 |
PMQINT16 | Pointer to data of type MQINT16 |
PMQINT32 | Pointer to data of type MQINT32 |
PMQINT64 | Pointer to data of type MQINT64 |
PMQLONG | Pointer to data of type MQLONG |
PMQMD | Pointer to a data structure of type MQMD |
PMQMDE | Pointer to a data structure of type MQMDE |
PMQMD1 | Pointer to a data structure of type MQMD1 |
PMQMD2 | Pointer to a data structure of type MQMD2 |
PMQMHBO | Pointer to a data structure of type MQMHBO |
PMQOD | Pointer to a data structure of type MQOD |
PMQOR | Pointer to a data structure of type MQOR |
PMQPD | Pointer to a data structure of type MQPD |
PMQPID | Pointer to a process identifier MQPID |
PMQPMO | Pointer to a data structure of type MQPMO |
PMQPTR | Pointer to data of type MQPTR |
PMQRFH | Pointer to a data structure of type MQRFH |
PMQRFH2 | Pointer to a data structure of type MQRFH2 |
PMQRMH | Pointer to a data structure of type MQRMH |
PMQRR | Pointer to a data structure of type MQRR |
PMQSCO | Pointer to a data structure of type MQSCO |
PMQSD | Pointer to a data structure of type MQSD |
PMQSMPO | Pointer to a data structure of type MQSMPO |
PMQSRO | Pointer to a data structure of type MQSRO |
PMQSTS | Pointer to a data structure of type MQSTS |
PMQTID | Pointer to a thread identifier MQTID |
PMQTM | Pointer to a data structure of type MQTM |
PMQTMC2 | Pointer to a data structure of type MQTMC2 |
PMQUINT8 | Pointer to data of type MQUINT8 |
PMQUINT16 | Pointer to data of type MQUINT16 |
PMQUINT32 | Pointer to data of type MQUINT32 |
PMQUINT64 | Pointer to data of type MQUINT64 |
PMQULONG | Pointer to data of type MQULONG |
PMQVOID | Pointer |
PMQWIH | Pointer to a data structure of type MQWIH |
PMQXQH | Pointer to a data structure of type MQXQH |
- MQBOOL on IBM i
The MQBOOL data type represents a boolean value. The value 0 represents false. Any other value represents true. - MQBYTE on IBM i
The MQBYTE data type represents a single byte of data. - MQBYTEn (String of n bytes) on IBM i
Each MQBYTEn data type represents a string of n bytes. - MQCHAR (character) on IBM i
The MQCHAR data type represents a single character. - MQCHARn (String of n characters) on IBM i
Each MQCHARn data type represents a string of n characters. - MQFLOAT32 on IBM i
The MQFLOAT32 data type is a 32-bit floating-point number represented using the standard IEEE floating-point format. - MQFLOAT64 on IBM i
The MQFLOAT64 data type is a 64-bit floating-point number represented using the standard IEEE floating-point format. - MQHCONFIG - configuration handle
The MQHCONFIG data type represents a configuration handle, that is, the component that is being configured for a particular installable service. A configuration handle must be aligned on its natural boundary. - MQHCONN (Connection handle) on IBM i
The MQHCONN data type represents a connection handle, that is, the connection to a particular queue manager. - MQHMSG (Message handle) on IBM i
The MQHMSG data type represents a message handle that gives access to a message. - MQHOBJ (Object handle) on IBM i
The MQHOBJ data type represents an object handle that gives access to an object. - MQINT8 (8-bit signed integer) on IBM i
The MQINT8 data type is an 8-bit signed integer that can take any value in the range -128 to +127, unless otherwise restricted by the context. - MQINT16 (16-bit signed integer) on IBM i
The MQINT16 data type is a 16-bit signed integer that can take any value in the range -32 768 to +32 767, unless otherwise restricted by the context. - MQINT32 (32-bit integer) on IBM i
The MQINT32 data type is a 32-bit signed integer. - MQINT64 (64-bit integer) on IBM i
The MQINT64 data type is a 64-bit signed integer that can take any value in the range -9 223 372 036 854 775 808 through +9 223 372 036 854 775 807, unless otherwise restricted by the context. - MQLONG (Long integer) on IBM i
The MQLONG data type is a 32-bit signed binary integer that can take any value in the range -2 147 483 648 through +2 147 483 647, unless otherwise restricted by the context, aligned on its natural boundary. - MQPID - process identifier
The IBM MQ process identifier. - MQPTR - pointer
The MQPTR data type is the address of data of any type. A pointer must be aligned on its natural boundary; this is a 16-byte boundary on IBM i. - MQTID - thread identifier
The MQ thread identifier. - MQUINT8 (8-bit unsigned integer) on IBM i
The MQUINT8 data type is an 8-bit unsigned integer that can take any value in the range 0 to +255, unless otherwise restricted by the context. - MQUINT16 - 16-bit unsigned integer
The MQUINT16 data type is a 16-bit unsigned integer that can take any value in the range 0 through +65 535, unless otherwise restricted by the context. - MQUINT32 (32-bit unsigned integer) on IBM i
The MQUINT32 data type is a 32-bit unsigned integer. It is equivalent to MQULONG. - MQUINT64 - 64-bit unsigned integer
The MQUINT64 data type is a 64-bit unsigned integer that can take any value in the range 0 through +18 446 744 073 709 551 615 unless otherwise restricted by the context. - MQULONG - 32-bit unsigned integer
The MQULONG data type is a 32-bit unsigned binary integer that can take any value in the range 0 through +4 294 967 294, unless otherwise restricted by the context. - PMQACH - pointer to a data structure of type MQACH
A pointer to a data structure of type MQACH. - PMQAIR - pointer to a data structure of type MQAIR
A pointer to a data structure of type MQAIR. - PMQAXC - pointer to a data structure of type MQAXC
A pointer to a data structure of type MQAXC. - PMQAXP - pointer to a data structure of type MQAXP
A pointer to a data structure of type MQAXP. - PMQBMHO - pointer to a data structure of type MQBMHO
A pointer to a data structure of type MQBMHO. - PMQBO - pointer to a data structure of type MQBO
A pointer to a data structure of type MQBO. - PMQBOOL - pointer to data of type MQBOOL
A pointer to data of type MQBOOL. - PMQBYTE - pointer to a data type of MQBYTE
A pointer to a data type of MQBYTE. - PMQBYTEn - pointer to a data structure of type MQBYTEn
A pointer to a data structure of type MQBYTEn, where n can be 8, 12, 16, 24, 32, 40, 48 or 128. - PMQCBC - pointer to a data structure of type MQCBC
A pointer to a data structure of type MQCBC. - PMQCBD - pointer to a data structure of type MQCBD
A pointer to a data structure of type MQCBD. - PMQCHAR - pointer to data of type MQCHAR
A pointer to data of type MQCHAR. - PMQCHARV - pointer to a data structure of type MQCHARV
A pointer to a data structure of type MQCHARV. - PMQCHARn - pointer to a data type of MQCHARn
A pointer to a data type of MQCHARn, where n can be 4, 8, 12, 20, 28, 32, 64, 128, 256, 264. - PMQCIH - pointer to a data structure of type of MQCIH
A pointer to a data structure of type of MQCIH. - PMQCMHO - pointer to a data structure of type MQCMHO
A pointer to a data structure of type MQCMHO. - PMQCNO - pointer to a data structure of type of MQCNO
A pointer to a data structure of type of MQCNO. - PMQCSP - pointer to a data structure of type MQCSP
A pointer to a data structure of type MQCSP. - PMQCTLO - pointer to a data structure of type MQCTLO
A pointer to a data structure of type MQCTLO. - PMQDH - pointer to a data structure of type MQDH
A pointer to a data structure of type MQDH. - PMQDHO - pointer to a data structure of type MQDHO
A pointer to a data structure of type MQDHO. - PMQDLH - pointer to a data structure of type of MQDLH
A pointer to a data structure of type of MQDLH. - PMQDMHO - pointer to a data structure of type MQDMHO
A pointer to a data structure of type MQDMHO. - PMQDMPO - pointer to a data structure of type MQDMPO
A pointer to a data structure of type MQDMPO. - PMQEPH - pointer to a data structure of type MQEPH
A pointer to a data structure of type MQEPH. - PMQFLOAT32 - pointer to data of type MQFLOAT32
A pointer to data of type MQFLOAT32. - PMQFLOAT64 - pointer to data of type MQFLOAT64
A pointer to data of type MQFLOAT64. - PMQFUNC - pointer to a function
A pointer to a function. - PMQGMO - pointer to a data structure of type MQGMO
A pointer to a data structure of type MQGMO. - PMQHCONFIG - pointer to a data type of MQHCONFIG
A pointer to a data type of MQHCONFIG. - PMQHCONN - pointer to a data type of MQHCONN
A pointer to a data type of MQHCONN. - PMQHMSG - pointer to a data type of MQHMSG
A pointer to a data type of MQHMSG. - PMQHOBJ - pointer to data of type MQHOBJ
A pointer to data of type MQSMPO. - PMQIIH - pointer to a data structure of type MQIIH
A pointer to a data structure of type MQIIH. - PMQIMPO - pointer to a data structure of type MQIMPO
A pointer to a data structure of type MQIMPO. - PMQINT8 - pointer to data of type MQINT8
A pointer to data of type MQINT8. - PMQINT16 - pointer to data of type MQINT16
A pointer to data of type MQINT16. - PMQINT32 (Pointer to data of type MQINT32) on IBM i
The PMQINT32 data type is a pointer to data of type MQINT32. It is equivalent to PMQLONG. - PMQINT64 (Pointer to data of type MQINT64) on IBM i
The PMQINT64 data type is a pointer to data of type MQINT64. - PMQLONG - pointer to data of type MQLONG
A pointer to data of type MQLONG. - PMQMD - pointer to structure of type MQMD
A pointer to structure of type MQMD. - PMQMDE - pointer to a data structure of type MQMDE
A pointer to a data structure of type MQMDE. - PMQMDI - pointer to a data structure of type MQMDI
A pointer to a data structure of type MQMDI. - PMQMD2 - pointer to a data structure of type MQMD2
A pointer to a data structure of type MQMD2 - PMQMHBO - pointer to a data structure of type MQMHBO
A pointer to a data structure of type MQMHBO. - PMQOD - pointer to a data structure of type MQOD
A pointer to a data structure of type MQOD. - PMQOR - pointer to a data structure of type MQOR
A pointer to a data structure of type MQOR. - PMQPD - pointer to a data structure of type MQPD
A pointer to a data structure of type MQPD. - PMQPID - pointer to a process identifier
A pointer to a process identifier. - PMQPMO - pointer to a data structure of type MQPMO
A pointer to a data structure of type MQPMO. - PMQPTR - pointer to data of type MQPTR
A pointer to data of type MQPTR. - PMQRFH - pointer to a data structure of type MQRFH
A pointer to a data structure of type MQRFH. - PMQRFH2 - pointer to a data structure of type MQRFH2
A pointer to a data structure of type MQRFH2. - PMQRMH - pointer to a data structure of type MQRMH
A pointer to a data structure of type MQRMH. - PMQRR - pointer to a data structure of type MQRR
A pointer to a data structure of type MQRR. - PMQSCO - pointer to a data structure of type MQSCO
A pointer to a data structure of type MQSCO. - PMQSD - pointer to a data structure of type MQSD
A pointer to a data structure of type MQSD. - PMQSMPO - pointer to a data structure of type MQSMPO
A pointer to a data structure of type MQSMPO. - PMQSRO - pointer to a data structure of type MQSRO
A pointer to a data structure of type MQSRO. - PMQSTS - pointer to a data structure of type MQSTS
A pointer to a data structure of type MQSTS. - PMQTID - pointer to a data structure of type MQTID
A pointer to a data structure of type MQTID. - PMQTM - pointer to a data structure of type MQTM
A pointer to a data structure of type MQTM. - PMQTMC2 - pointer to a data structure of type MQTMC2
A pointer to a data structure of type MQTMC2. - PMQUINT8 - pointer to data of type MQUINT8
A pointer to data of type MQUINT8. - PMQUINT16 - pointer to data of type MQUINT16
A pointer to data of type MQUINT16. - PMQUINT32 (Pointer to data of type MQUINT32) on IBM i
The PMQUINT32 data type is a pointer to data of type MQUINT32. It is equivalent to PMQULONG. - PMQUINT64 (Pointer to data of type MQUINT64) on IBM i
The PMQUINT64 data type is a pointer to data of type MQUINT64. - PMQULONG - pointer to data of type MQULONG
A pointer to data of type MQULONG. - PMQVOID - pointer
A pointer. - PMQWIH - pointer to a data structure of type MQWIH
A pointer to a data structure of type MQWIH. - PMQXQH - pointer to a data structure of type MQXQH
A pointer to a data structure of type MQXQH.
Parent topic: Data type descriptions on IBM i