Mapping PL/I arrays to the List type
By default, a PL/I array maps to the Java™ array type. You can change the default mapping of arrays from Array to List.
About this task
- The PL/I array must reference a numeric item with an integer value: short, int, long, or BigDecimal.
- The PL/I array must reference the numeric item under the same top-level item.
- If there is an embedded array, the embedded array must reference the numeric item under the same table group.
- If there is an array with an identical reference structure, the array must reference the numeric item under the identical group.
You can map the PL/I array type to the List type during the XOM generation process, when the XOM generation wizard displays the Configure PL/I XOM Mapping page. The page shows the default PL/I to Java type mappings.
Procedure
- On the Configure PL/I XOM Mapping page, click a data item that you want to configure in the PL/I Structure pane.
- In the Java Type column in the XOM Mapping pane, select the array item and change it from the Array type to the List type. The Customized List Reference window is displayed.
- From the list of numeric types in the sharing scope, select a reference counter of the array.
- Click OK, and then click Finish when you are ready to generate the XOM.