Oracle-audio-technologies Oracle Tuxedo Manuale Utente Pagina 27

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 112
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 26
Translating Data with TMA TCP gateway
Oracle Tuxedo Mainframe Adapter for TCP CICS User Guide 2-9
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
S9(2*m-(n+1))V9(n) COMP-3. Therefore, a decimal field with a size of 8,5
corresponds to
S9(10)V9(5) COMP-3.
The following table summarizes the translation rules between C and IBM/370 data types.
LONG
Translated to S9(9) COMP
FLOAT
Translated to COMP-1
DOUBLE
Translated to COMP-2
Table 2-3 Translation Rules Between C and IBM/370 Data Types
Remote Data Type Description View Field Type/Length
PIC X(n)
Alpha-numeric Characters string / n
PIC X
Single Alpha-numeric Character char
PIC X(n)
Raw Bytes carray / n
PIC X
Single Numeric Byte carray / 1
PIC S9(4) COMP
16-bit Integer short
PIC S9(9) COMP
32-bit Integer long
COMP-1
Single-precision Floating Point float
COMP-2
Double-precision Floating Point double
PIC
S9((m+(n+1))/2)V9
(n)
COMP-3
Packed Decimal dec_t / m,n
Table 2-2 Data Translation Rules
Field Type Translation Rules
Vedere la pagina 26
1 2 ... 22 23 24 25 26 27 28 29 30 31 32 ... 111 112

Commenti su questo manuale

Nessun commento