PL/I data type support
When you define an execution object model (XOM) from a PL/I include file, you must know which PL/I data types are supported.
The following tables show which PL/I data types and attributes are supported.
Arithmetic type
Data type | Supported | Example | Further information |
---|---|---|---|
Coded arithmetic | Yes |
|
The following attributes are supported:
|
Picture numeric | Yes |
|
Picture symbols S, 9, and V are supported. Editing symbols such as currency symbols ($), zero suppression (z, *), and exponent characters (K, E) are not supported. |
COMPLEX | No |
|
String type
Data type | Supported | Example | Further information | |
---|---|---|---|---|
Fixed-length string | PICTURE | Yes |
|
Picture symbols X, A, and 9 are supported. |
BIT | Yes |
|
The string length must be restricted by using the expression (const value) Supported attributes: VARYING | VARYINGZ | NONVARYING The BIT character with the REFER option is not supported. |
|
CHARACTER | Yes |
|
The string length must be restricted by using the expression (const value) Supported attributes: VARYING | VARYINGZ | NONVARYING |
|
WIDECHAR | Yes |
|
||
GRAPHIC | Yes |
|
||
Variable length string | variable length string without REFER option | No |
|
Supported attributes: VARYING | VARYINGZ | NONVARYING Only the simple REFER usage is supported. Variable length strings in the BIT data type is not supported. |
variable length string with REFER option | Yes |
|
||
Date | date | No |
|
You can use the data converter to map a PL/I data item to the Java™ Date type. For more information, see Mapping PL/I data items to boolean and date types. |
Array type
Data type | Supported | Example | Further information | |
---|---|---|---|---|
Fixed-length array | DIMENSION DIMACROSS |
Yes |
|
|
Variable length array | REFER option | Yes |
|
Only the simple REFER usage is supported. |
NO-REFER option | No |
|
User-defined type
Data type | Supported | Example | Further information |
---|---|---|---|
Alias | No |
|
|
Structure | No |
|
|
Ordinal | Yes |
|
The ORDINAL type is mapped to a Java numeric Object; for example, Byte, Short, Integer, Long, and BigInteger. The ordered values of the ORDINAL attribute are ignored. |
Union | Yes |
|
|
Like | Yes |
|
Program-control data
Data type | Supported | |
---|---|---|
File | FILE | No |
Area | AREA | No |
Locator | POINTER | No |
OFFSET | No | |
HANDLE | No |
Other data attributes
Data attributes | Supported | Further information |
---|---|---|
STATIC | Yes | |
AUTOMATIC | Yes | |
BASED | Yes | |
CONTROLLED | No | |
ALIGNED | Yes | |
UNALIGNED | Yes | |
ASSIGNABLE | Yes | |
UNASSIGNABLE | No | |
EXTERNAL | Yes | |
INTERNAL | Yes | |
LITTLEENDIAN | No | |
BIGENDIAN | Yes | |
HEXADEC | Yes | |
IEEE | Yes | |
DEFINED | POSITION | No | |
VALUE | Yes | |
INITIAL | Yes | The PL/I importer ignores this attribute. |
NORMAL | ABNORMAL | Yes | The PL/I importer ignores this attribute. |
XMLATTR | XMLOMIT | Yes | The PL/I importer ignores this attribute. |