CRE Programmer's Guide
Data Type Correspondence
Common Run-Time Environment (CRE) Programmer’s Guide—528146-004
A-6
Table A-5. Structured, Logical, Set, and File Types
Langauge
Byte-
Addressed 
Structure
Word-Addressed 
Structure
Logical 
(true or 
false) Boolean Set File
BASIC -- MAP buffer -- -- -- --
C--struct --------
COBOL -- 01-level RECORD -- -- -- --
FORTRAN RECORD -- LOGICAL
1
-- -- --
SQL---- --------
TAL
pTAL
Byte-
addressed 
standard 
STRUCT 
pointer
Word-addressed 
standard STRUCT 
pointer
-- -- -- --
Return 
Value Size 
(Words)
1 or 2, 
depends 
on 
declared 
pointer 
size
1 or 2, depends on 
declared pointer 
size
1 or 2, 
depends 
on 
compiler 
directive
111
1. LOGICAL is normally defined as 2 bytes. The LOGICAL*2 and LOGICAL*4 compiler directives redefine 
LOGICAL.










