Top-level data items in PL/I
The PL/I importer handles top-level data items differently to lower-level data items.
Each top-level data item creates one Java™ class in the XOM. This Java class has one attribute. The attribute takes the same name as the Java class, except that the first character is in lowercase.
The type of the attribute depends on the data item definition. For example, you might have following top-level data item:
dcl 01 TopItem char(20),
This data item maps to the following Java XOM entries:
-
The data item creates a class named
TopItem. -
The
TopItemclass has one attribute, namedvalue. -
The attribute type is
java.lang.String.