The INCDIR compiler option specifies a directory to be added to the search path used to locate of include files.
.-NOINCDIR-----------------------. >>-+-INCDIR--(--‘directory name’--)-+--------------------------><
Except under batch, the compiler looks for INCLUDE files in the following order:
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.