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
- 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.
- 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.
- 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.
- Click Finish to close the Configure
PL/I XOM Mapping page, and then click OK to
generate the XOM.