By default, if PL/I group items have an identical structure,
they are mapped to the same Java™ class.
You can remap the group item to another Java class
type or a new class type.
About this task
Note: A PL/I top-level item cannot be mapped to the same Java class as another top-level
item even if they have an identical structure. For more information,
see
Identical PL/I structures.
You remap a PL/I group item either
to another Java class type or
a new Java class type during
the XOM generation process, when the XOM generation wizard displays
the Configure PL/I XOM Mapping page.
Procedure
- In the PL/I Structure pane on the Configure
PL/I XOM Mapping page, select a parent group item of the
PL/I group item that you want to remap.
In the following
example, if you want to remap
CoBorrower to a different
class, you must select
Loan in the
PL/I
Structure pane.
dcl 01 Loan,
02 Borrower,
05 name char(5),
05 age fixed bin(31),
02 CoBorrower,
05 name char(5),
05 age fixed bin(31);
- Click the Java class
type that you want to remap in the Java Type
column in the XOM Mapping pane:
- Select New Class to remap the PL/I group
item to a new Java class type.
- Select a Java class type
in the drop-down list to remap the PL/I group item to another Java class type.
- Click Finish when you are ready
to generate the XOM.