The INCLUDE and include: instructions are used to enter source code from an additional file.
INCLUDE filename include:(name)
filename is the name of the source file to be included. The format of the filename is installation-dependent and is set in RFPP by the openi: macro definition. A typical filename is DL2:SUBR5.RAT or, rather, DL2^SUBR5.RAT (see the section called “Special character controls ”).
name is an abbreviated or generic form of the included filename. The 'device' and 'extension' parts of the filename are appended to the 'name' depending on how the inc: macro is defined. For example, include:(SUBR) may be equivalent to INCLUDE DS1^SUBR.RAT.
Source code of 'included' files may also contain INCLUDE instructions. In the standard implementation, RFPP will support five levels of nested INCLUDE instructions. This may be increased by redefining the RFPP macro maxfil:. Any number of non-nested INCLUDE files may be used.