%INCLUDE statements in the include file

You can base your XOM on a PL/I include file that contains %INCLUDE statements or refers to other include files that contain %INCLUDE statements.

When you generate a XOM from an include file, you import the main include file. If the main include file contains no %INCLUDE statements, the PL/I importer just generates the XOM.

If the main include file contains one or more %INCLUDE statements, the PL/I importer merges the contents of each nested include file into the main include file and generates one XOM entry. For this type of include file, you must make sure that all the nested include files are defined in the system library path of the PL/I importer.