Transl ating Data wi th TMA TCP gatew ay
Table
Field Type | Translation Rules |
|
|
LONG | Translated to S9(9) COMP |
|
|
FLOAT | Translated to |
|
|
DOUBLE | Translated to |
|
|
Note: Oracle Tuxedo provides a field type named dec_t that supports decimal values within VIEWs. The TMA TCP gateway product translates these fields into machine independent representations of packed decimals. For example, dec_t(m,n) becomes
The following table summarizes the translation rules between C and IBM/370 data types.
Table
Remote Data Type | Description | View Field Type/Length |
|
|
|
PIC X(n) | string / n | |
|
|
|
PIC X | Single | char |
|
|
|
PIC X(n) | Raw Bytes | carray / n |
|
|
|
PIC X | Single Numeric Byte | carray / 1 |
|
|
|
PIC S9(4) COMP | short | |
|
|
|
PIC S9(9) COMP | long | |
|
|
|
float | ||
|
|
|
double | ||
|
|
|
PIC | Packed Decimal | dec_t / m,n |
S9((m+(n+1))/2)V9 |
|
|
(n) |
|
|
|
| |
|
|
|
Oracle Tuxedo Mainframe Adapter for TCP CICS User Guide |