Mapping Java data types to PL/I data models
Learn how the PL/I data structure maps to the Java™ data structure, and about the limitations of mapping.
- Role of the PL/I include file
A PL/I include file contains a section of code that defines data structures of PL/I program. You can generate an include file from an existing Java rule project. - Supported Java data types for mapping to PL/I data models
To share rules with PL/I applications, the BOM must use only Java types that map to PL/I structures. - Collection type
Collection interface and its concrete implementation classes in Java are supported when Java types map to PL/I data structures. - Enum type
The enum data type in Java is supported when Java types map to PL/I structures. You can specify that it maps to the PL/I char type or the ordinal type. - Map type
The Map interface and its concrete implementation class in Java is supported when Java types map to PL/I structures. The key-value pairs in Map map to a PL/I array. The keys map to Map-key and the values map to Map-value in the array element structure. The size of the Map data maps to a numeric item as the bound in the PL/I array.
Parent topic: Converting a BOM to enable the BOM for PL/I