Pathway/iTS SCREEN COBOL Reference Manual (G06.24+, H06.03+, Pathway/iTS 1.0+)
Compaq NonStop™ Pathway/iTS SCREEN COBOL Reference Manual—426750-001
F-1
F
Data Type Correspondence and Return 
Value Sizes
The following tables contain the return value size generated for each data type by 
Compaq language compilers for Compaq NonStop™ Himalaya systems. Use this 
information when you need to specify values with the Accelerator ReturnValSize 
option. These tables are also useful if your programs use data from files created by 
programs in another language, or your programs pass parameters to programs written in 
callable languages.
Refer to the appropriate Compaq NonStop™ Structured Query Language/MP 
(NonStop™ SQL/MP) programming manual for a complete list of SQL data type 
correspondences. Note that the return value sizes given in these tables do not 
correspond to the storage size of SQL data types. 
If you are using the Data Definition Language (DDL) utility to describe your files, you 
might not need these tables. See the Data Definition Language (DDL) Reference 
Manual for more information.
Note. Information labeled as “COBOL” applies to COBOL 74, COBOL85, and SCREEN 
COBOL unless otherwise noted.
Table F-1. Integer Types, Part 1 (page 1 of 2)
8-Bit Integer 16-Bit Integer 32-Bit Integer
C char [1]
unsigned char
signed char
int
short
unsigned
long
unsigned long
COBOL Alphabetic
Numeric DISPLAY
Alphanumeric-Edited
Alphanumeric
Numeric-Edited
PIC S9(n) COMP or 
PIC 9(n) COMP
 without P or V, 
 1 ð n ð 4
Index Data Item [2]
NATIVE-2 [3]
PIC S9(n) COMP or 
PIC 9(n) COMP
 without P or V, 
 5 ð n ð 9
Index Data Item [2]
NATIVE-4 [3]
FORTRAN — INTEGER [4]
INTEGER*2
INTEGER*4
[1] Unsigned Integer.
[2] Index Data Item is a 16-bit integer in COBOL 74 and a 32-bit integer in COBOL85.
[3] COBOL85 only.
[4] INTEGER is normally equivalent to INTEGER*2. The INTEGER*4 and INTEGER*8 compiler directives 
redefine INTEGER.










