Identical PL/I structures
PL/I group items with identical structures are mapped to a single Java™ class when you generate the XOM.
PL/I structures are considered identical if they have the same child items and the same memory layout. If the PL/I structure of group items is identical, these group items are mapped to the same Java class.
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);
01 Loan2,
....
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. In the preceding example, Loan and Loan2 are not mapped to the same Java class, even if their structures are identical, because they are both top-level items in the include file. Loan2 is mapped to a new class.
On the Configure PL/I XOM Mapping page, when you click a group item, all group items that have the identical structure and map to the same Java class are highlighted in bold with an equal sign (=) in the PL/I Structure pane. When you select Show identical structures, only the data items with the identical structure as the selected data item are highlighted and displayed in the PL/I Structure pane.