Creating the BOM to PL/I mapping

You can convert a Java™ BOM and map Java data types to PL/I structures so that the converted BOM uses data structures, class types, and characters that are compatible with PL/I.

About this task

To run business rules in PL/I, the BOM must contain PL/I structures. You can then generate a PL/I include file from it. You can also generate a PL/I include file from several BOM entries.
Note:

You cannot use a BOM that is based on a dynamic XOM to generate a PL/I include file.

Procedure

  1. Right-click the rule project and then select Properties > PL/I Management > PL/I Enabled BOM.
  2. In the PL/I Enabled BOM pane, click Add.
  3. In the Select BOM entry dialog, select a BOM entry that you want to enable for PL/I, and then click OK.

    The table on the page Configure type setting for PL/I items shows the default mapping between the Java structures in the BOM and the PL/I structures.

    You can change the following default PL/I mapping:
    • The PL/I Name
    • The PL/I Type Format
    • The PL/I Type

    You can also disable the PL/I mapping for some BOM attributes by clearing the corresponding Enable check box. The disabled attributes are not included in the generated include file.

  4. When you are satisfied with the mappings, click Finish.
  5. Optional: Add another BOM entry that you want to enable for PL/I and repeat steps 3 and 4.