Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Programming Guide

Source Statement Library (SYSLIB)

If you use the %INCLUDE statement to introduce source statements into the PL/I program from a library, you can either define the library in a DD statement with the name SYSLIB, or you can choose your own ddname (or ddnames) and specify a ddname in each %INCLUDE statement.

The DD should specify a PDS or PDSE, but not the actual member. For example to include the file HEADER from the library SYSLIB using the dataset INCLUDE.PLI, the %INCLUDE statement would like

   %INCLUDE HEADER;

or

  %INCLUDE SYSLIB( HEADER );

The DD statement should be

SYSLIB  DD DISP=SHR,DSN=INCLUDE.PLI

but it should not be

SYSLIB  DD DISP=SHR,DSN=INCLUDE.PLI(HEADER)

All %INCLUDE files must have the same record format (fixed, variable, undefined), the same logical record length, and the same left and right margins as the SYSIN source file.

The BLOCKSIZE of the library must be less than or equal to 32,760 bytes.

The maximum number of lines in any one include file is 999,999.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)