PL/I data type definitions
Table 1 includes data type definitions and their descriptions for PL/I.
Data type | Description | PL/I |
---|---|---|
INT2 | A 2-byte signed integer | REAL FIXED BINARY (15,0) |
INT4 | A 4-byte signed integer | REAL FIXED BINARY (31,0) |
FLOAT4 | A 4-byte single-precision floating-point number | REAL FLOAT BINARY (21) or REAL FLOAT DECIMAL (6) |
FLOAT8 | An 8-byte double-precision floating-point number | REAL FLOAT BINARY (53) or REAL FLOAT DECIMAL (16) |
FLOAT16 | A 16-byte extended-precision floating-point number | REAL FLOAT DECIMAL (33) or REAL FLOAT BINARY (109) |
COMPLEX8 | Short floating-point complex hex number: an 8-byte complex number, whose real and imaginary parts are each 4-byte single-precision floating-point numbers | COMPLEX FLOAT DECIMAL (6) |
COMPLEX16 | Long floating-point complex hex number: a 16-byte complex number, whose real and imaginary parts are each 8-byte double-precision floating-point numbers | COMPLEX FLOAT DECIMAL (16) |
COMPLEX32 | Extended floating-point hex number: a 32-byte complex number, whose real and imaginary parts are each 16-byte extended-precision floating-point numbers | COMPLEX FLOAT DECIMAL (33) |
POINTER | A platform-dependent address pointer | POINTER |
CHARn | A string (character array) of length n | CHAR(n) |
VSTRING | A halfword length-prefixed character string (for input); fixed-length 80-character string (for output) |
|
FEED_BACK | A mapping of the condition token (fc) |
|
CEE_ENTRY | An HLL-dependent entry constant | ENTRY |