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

INCPDS

The INCPDS option specifies a PDS from which the compiler will include files when compiling a program under z/OS UNIX.

Note:
This option applies only to compilations under z/OS UNIX.

Read syntax diagramSkip visual syntax diagram   .-NOINCPDS-----------------.
>>-+-INCPDS--(--‘PDS name’--)-+--------------------------------><
 
PDS name
Name of a PDS from which files will be included.

For example, if you wanted to compile the program TEST from a PDS named SOURCE.PLI and wanted to use the INCLUDE files from the PDS SOURCE.INC, then you could specify the following command

pli -c -qincpds="SOURCE.INC" "//’SOURCE.PLI(TEST)’"

The compiler looks for INCLUDE files in the following order:

  1. Current directory
  2. Directories specified with the –I flag or with the INCDIR compiler option
  3. /usr/include directory
  4. PDS specified with the INCPDS compiler option

Terms of use | Feedback

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