PL/I Features

You can import a file that contains PL/I data definition into a Copybook resource.

Note: The PL/I functionality of the Plug-in has been tested against Enterprise PL/I for z/OS Version 3, Release 6 (5655-H31). Other compilers might produce incompatible data layouts.

A PL/I program might contain a mix of DECLARE statements and other language constructs. Even though the Plug-in processes DECLARE statements only, the imported file can contain other program elements. In the following example—

DECLARE 1 DATA_STRUCT,
          2 FLD1 FIXED BINARY(31),
          2 FLD2 FIXED BINARY(31);
PRINT_DATA:
PROCEDURE;
     PUT SKIP EDIT (' FLD =', DATA_STRUCT.FLD) (A,A);
END PRINT_DATA;

DATA_STRUCT is a data declaration; PRINT_DATA is a procedure. The Plug-in processes DATA_STRUCT and ignores PRINT_DATA.