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

INCDIR

The INCDIR compiler option specifies a directory to be added to the search path used to locate of include files.

Read syntax diagramSkip visual syntax diagram   .-NOINCDIR-----------------------.
>>-+-INCDIR--(--‘directory name’--)-+--------------------------><
 
directory name
Name of the directory that should be searched for include files. You can specify the INCDIR option more than once and the directories are searched in order.

Except under batch, 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

Under batch, this option is probably best used with the DFT(LOWERINC) option, and it affects only includes of the form "%include x;" For these includes, an hfs file with the name x.inc will be sought first in the directories specified in this option. If not found, x must be a member of the pds(e) specified in the syslib dd For includes of the form "%include dd(x);" no hfs file will ever be included: the member x must always be a member of the pds named by the specified dd.


Terms of use | Feedback

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