PL/I data type definitions

Table 1 includes data type definitions and their descriptions for PL/I.

Table 1. Data type definitions 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)
DCL string_in  CHAR(n) VARYING;
DCL string_out CHAR(80);
FEED_BACK A mapping of the condition token (fc)
Case 1:
DCL 1 FEEDBACK BASED,
      3 SEVERITY   FIXED BINARY (15),
      3 MSGNO      FIXED BINARY (15),
      3 FLAGS,
        5 CASE     BIT  (2),
        5 SEVERITY BIT  (3),
        5 CONTROL  BIT  (3),
        3 FACID    CHAR (3),
        3 ISI      FIXED BINARY (31);
Case 2:
DCL 1 FEEDBACK BASED,
      3 CLASS_CODE FIXED BINARY (15),
      3 CAUSE_CODE FIXED BINARY (15),
      3 FLAGS,
        5 CASE     BIT (2),
        5 SEVERITY BIT (3),
        5 CONTROL  BIT (3),
        3 FACID    CHAR (3),
        3 ISI      FIXED BINARY (31);
CEE_ENTRY An HLL-dependent entry constant ENTRY