Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Appendix B Mapping Data Types : Mapping Data Types for MAP Table Definitions

Mapping Data Types for MAP Table Definitions
Translation of External Data
The following table displays the default mapping of external syntax and length (XSyn and Xlen fields) to TIBCO Object Service Broker syntax and length (Syn and Len fields) for MAP table definitions. In every case, the TIBCO Object Service Broker decimal (Dec field) value is equal to the external decimal length. TIBCO Object Service Broker syntax is described more fully in TIBCO Object Service Broker Programming in Rules.
External Syntax
(Xsyn field)
External Length
Maximum External Decimal Length (Xdec field)
TIBCO Object Service Broker Syntax
(Syn field)
TIBCO Object Service Broker Length
Binary or character data, according to internal syntax. Binary data is interpreted according to endian value. Character data is translated according to code page.
No default
B b, c
Unicode UTF-16-BE encoded string.
2 – 31742, must be a multiple of 2
Unicode UTF-16-BE encoded string with BOM.
4 – 31742, must be a multiple of 2
Unicode UTF-32-BE encoded string.
4 – 31740, must be a multiple of 4
Unicode UTF-32-BE encoded string with BOM.
8 – 31740, must be a multiple of 4
Fixed length character string, with trailing blanks ignored.
E c, i
Packed, neutral (X’0F’) sign when positive.
Mixed-case character string in the native code page (EBCDIC for z/OS, ASCII otherwise), with trailing zeroes ignored.
K k, l
Unicode UTF-16-LE encoded string.
2 – 31742, must be a multiple of 2
Unicode UTF-16-LE encoded string with BOM.
4 – 31742, must be a multiple of 2
Unicode UTF-32-LE encoded string.
4 – 31740, must be a multiple of 4
Unicode UTF-32-LE encoded string with BOM.
8 – 31740, must be a multiple of 4
Xlen/2+1 (round down)
Xlen/2+1 (round down)
(XLen - 1) / 2 + 1 (round down)
(XLen - 1) / 2 + 1 (round down)
R i, l
Xlen/2 (round down)
Xlen (+1 if result is odd)a
Null terminated Unicode UTF8 encoded string.
Xlen (+1 if result is odd)a
Unicode UTF8 encoded string with BOM.
Xlen-3 (+1 if result is odd)a
Null terminated Unicode UTF8 encoded string with BOM.
Xlen-3 (+1 if result is odd)a
2 – 31742, must be a multiple of 2
Double- & single-byte character string.
Fixed length, mixed case character string.
Variable length, mixed case character string in one of a possible 16 user syntaxes.
Xlen (+1 if result is odd)a
a.
b.
For the import type LENGTH_PREFIXED_EBCDIC_NATIVE_ENDIAN, the endian is that of the processor where TIBCO Object Service Broker is running. For example, on an Intel machine, the external syntax B for LENGTH_PREFIXED_EBCDIC_NATIVE_ENDIAN import files is little-endian.
c.
d.
On Open Systems, if there are more than 15 significant digits in the field, you must assign the TIBCO Object Service Broker syntax C and length 26.
e.
f.
g.
h.
i.
j.
k.
l.
m.
n.
There are 16 possible user syntaxes from XC01 to XC16. These are typically used to map DBCS characters to Unicode. To define the user syntaxes, refer to the procedures described in the TIBCO Object Service Broker for z/OS Installing and Operating or TIBCO Object Service Broker for Open Systems Installing and Operating.
Numeric nulls are translated to zeros. As a special case, null date fields are interpreted as zero and represented internally as 1980-01-01.
Null fixed‑length character strings are padded with blanks as required. Null variable‑length strings (V or W) are imported as is.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved