Pathway/iTS SCREEN COBOL Reference Manual (G06.24+, H06.03+, Pathway/iTS 1.0+)
Data Type Correspondence and Return Value Sizes
Compaq NonStop™ Pathway/iTS SCREEN COBOL Reference Manual—426750-001
F-3
SQL NUMERIC(10)…
NUMERIC(18)
PIC 9(10) COMP…
PIC 9(18) COMP
INTEGER
— DECIMAL (n,s)
PIC 9(n) DISPLAY
TAL FIXED(0) UNSIGNED(n) ,
1 ð n ð 31
—
Return
Value
Size
(Words)
4 1, 1 or 2 in
TAL
1 or 2, depends on
declared pointer size
[1] COBOL85 only.
Table F-3. Floating, Fixed, and Complex Types
32-Bit
Floating 64-Bit Floating 64-Bit Fixed Point
64-Bit
Complex
C float double — —
COBOL — — PIC S9(n–s)v9(s) COMP or
PIC 9(n–s)v9(s) COMP,
10 ð n ð 18
—
FORTRAN REAL DOUBLE
PRECISION
—COMPLEX
Pascal REAL LONGREAL — —
SQL — — NUMERIC (n,s)
PIC 9(n-s)v9(s) COMP
—
TAL REAL REAL(64) FIXED(s), -19 ð s ð 19 —
Return
Value
Size
(Words)
24 4 4
Table F-2. Integer Types, Part 2 (page 2 of 2)
64-Bit Integer
Bit Integer of 1 to
31 Bits Decimal Integer