Role of the PL/I include file

A PL/I include file contains a section of code that defines data structures of PL/I program. You can generate an include file from an existing Java™ rule project.

If you have rule projects containing rules that you want to run in a PL/I application, you can convert a Java BOM so that data structures and class types become compatible with PL/I. When a PL/I enabled BOM is created, you can generate an include file that corresponds to the ruleset parameters.

Note: If the BOM is derived from an XML schema, you cannot use it to generate a PL/I include file.

The BOM data structures and class types translate into corresponding PL/I structures and types in the include file. For example, if you have a BOM class that has three attributes, the generated include file has a corresponding structure, such as a group item that has three data items.

The generated include file contains a default mapping for the Java types and PL/I data items. You can make minor changes to the default mapping.

You can define BOM classes by using the data types that PL/I supports.

You might need to redefine Java data structures in the BOM where there is no equivalent structure in PL/I.