The Listener for IBM MQ uses a predefined mapping of IDL data types to the MQ message buffer if the MQ message is in text format.
If your programs use arrays of groups, you have to set the property
entirex.bridge.marshalling
to "Natural" or "COBOL".
If your programs do not use arrays of groups, you must not set entirex.bridge.marshalling
.
Data Type | Description | Format | Note |
---|---|---|---|
A |
Alphanumeric | number bytes, encoding the characters.
|
|
AV |
Alphanumeric variable length | Bytes up to the end of the buffer. | 1, 4 |
AV[ |
Alphanumeric variable length with maximum length | Bytes up to the end of the buffer, maximal length number .
|
1 |
K |
Kanji | Same as data type A .
|
|
KV |
Kanji variable length | Same as data type AV .
|
1, 4 |
KV[ |
Kanji variable length with maximum length | Same as data type AV[ .
|
1 |
I1 |
Integer (small) | sign (+, -) and 3 bytes (digits).
|
|
I2 |
Integer (medium) | sign (+, -) and 5 bytes (digits).
|
|
I4 |
Integer (large) | sign (+, -) and 10 bytes (digits).
|
|
N |
Unpacked decimal | sign (+, -), number1 bytes (digits) [number2 ] bytes (digits), no decimal point.
|
|
P |
Packed decimal | sign (+, -), bytes (digits) [ bytes (digits), no decimal point.
|
|
L |
Logical | 1 byte: X for true, all other false. | |
D |
Date | YYYYMMDD .
|
2 |
T |
Time | YYYYMMDDhhmmssS .
|
3 |
Notes:
YYYY
year, MM
month, DD
day.
YYYY
year, MM
month, DD
day, hh
hour, mm
minute, ss
second, S
tenth of a second.
Data types not supported:
Binary (B[n]
,BV
, BV[n]
)
Floating point (F4
, F8
)