UNION statements in the PL/I include file
When you generate a XOM from a PL/I include file, a UNION statement generates a Java™ type mapping for each data item that is associated with the UNION statement, but you can use only one of them in the XOM.
You can select only one of these data items to be imported as an attribute in the generated XOM, because in PL/I union data items can share the same memory, but Java structures cannot.
Example
In the following PL/I include file, you have a union statement that is related to DATEString and BIRTHDAY:
dcl 1 Borrower union,
5 DATEString char(8),
5 BIRTHDAY,
7 BIRTHYEAR char(4),
7 BIRTHMONTH char(2),
7 BIRTHDATE char(2);
When you import the PL/I include file, the default entry on the UNION page is the first member in the UNION structure.
If you want to use an alternative data item in the XOM, click the item to activate the selection arrow, and then select the alternative data item.