Applying a custom type converter for PL/I

You apply your custom type converter during the PL/I XOM generation process.

About this task

When you generate the PL/I XOM, you can use user-defined type converters to change default type mappings.

Procedure

  1. During PL/I XOM generation, on the Configure PL/I XOM Mapping page, right-click the row that contains the type you want to change and then click Add converter.
  2. On the Configure Converter Settings page, select a custom type converter that you want to use.

    For example, if you created a boolean type converter named Approved, you might add the key and the true and false values:

    Key Value
    True value 1
    False value 0

    The key property must match the key definition in the converter.

  3. Click OK to close the Configure Converter Settings page.

    On the Configure PL/I XOM Mapping page, the Converter applied column displays Yes, indicating that the default mapping is changed.

  4. Click Finish to close the Configure PL/I XOM Mapping page, and then click OK to generate the XOM.