Utility programs DFHLS2WS and DFHWS2LS support mappings between
PL/I data structures and the XML Schema definitions that are included in each
Web service description. Because there are differences between
the Enterprise PL/I compiler and older PL/I compilers two language options
are supported, PLI-ENTERPRISE and PLI-OTHER.
For example, monthly$total becomes monthlyxtotal.
For example, two instances of year become year and year1.
3 FIELD1 FIXED BINARY(7),
3 FIELD2 FIXED BINARY(31),
3 FIELD3 FIXED BINARY(63);
In this example: 3 PAD1 FIXED BINARY(7),
3 PAD2 FIXED BINARY(7),
3 PAD3 FIXED BINARY(7),
3 FIELD1 FIXED BINARY(7),
3 FIELD2 FIXED BINARY(31),
3 FIELD3 FIXED BINARY(63);
Alternatively, you can change the
structure to declare all the fields as unaligned and recompile the application
which uses the structure. For further information on PL/I structural memory
alignment requirements refer to Enterprise PL/I Language Reference. PL/I data description | Schema |
---|---|
FIXED BINARY (n) where n ≤ 7 |
|
FIXED BINARY (n) where 8 ≤ n ≤ 15 |
|
FIXED BINARY (n) where 16 ≤ n ≤ 31 |
|
FIXED BINARY (n) where 32 ≤ n ≤ 63Restriction:
![]() ![]() |
|
UNSIGNED FIXED BINARY(n) where n ≤ 8Restriction:
![]() ![]() |
|
UNSIGNED FIXED BINARY(n) where 9 ≤ n ≤ 16Restriction:
![]() ![]() |
|
UNSIGNED FIXED BINARY(n) where 17 ≤ n ≤ 32Restriction:
![]() ![]() |
|
UNSIGNED FIXED BINARY(n) where 33 ≤ n ≤ 64Restriction:
![]() ![]() |
|
FIXED DECIMAL(n,m) |
|
BIT(n) where n is a multiple of 8. Other values are not supported. |
where m = n/8 |
CHARACTER(n) |
|
GRAPHIC(n) |
at a mapping level of 1.0 and 1.1, where m =
2*n![]()
![]()
|
WIDECHAR(n) |
where m = 2*n![]()
![]()
|
ORDINAL Restriction:
![]() ![]() |
![]()
![]() |
![]() Supported at mapping level 1.2. ![]() |
![]()
![]() |
![]() Values greater than 53 are not supported. Supported at mapping level 1.2. ![]() |
![]()
![]() |
![]() Supported at mapping level 1.2. ![]() |
![]()
![]() |
![]() Values greater than 16 are not supported. Supported at mapping level 1.2. ![]() |
![]()
![]() |
For example, monthly-total becomes monthlyXtotal.
If the schema specifies that the variable has fixed cardinality, and the schema element name is longer than 29 characters, it is truncated to that length.
For example, three instances of year become year, year1 and year2.
For more information, see Variable arrays of elements.
The nillable attribute has special rules. The prefix attr- is added, but nil- is also added to the beginning of the attribute name. The attribute name is followed by -value. If the total length is longer than 28 characters, the attribute name is truncated.
Schema | PL/I data description at mapping level 1.0 and 1.1 | PL/I data description at mapping level 1.2 |
---|---|---|
|
Not supported |
Not supported |
|
CHAR(255) |
CHAR(255) |
where type is
one of:
|
CHARACTER(z) |
CHARACTER(z) |
where type is one of:
|
CHAR(32) |
CHAR(32) |
|
BIT(z) where z = 8 ×y and z < 4095 bytesCHAR(z) where z = 8 ×y and z > 4095 bytes. |
CHAR(y) |
|
![]()
![]() |
![]()
![]() |
|
![]()
![]() |
![]()
![]() |
|
![]()
![]() |
![]()
![]() |
|
![]()
![]() |
![]()
![]() |
![]()
![]() |
![]() ![]()
![]() ![]() |
![]() ![]()
![]() ![]() |
|
![]()
![]() |
![]()
![]() |
|
![]()
![]() |
![]()
![]() |
|
![]()
![]() |
![]()
![]() |
|
![]()
![]() |
![]()
![]() |
|
![]()
![]() |
|
|
FIXED DECIMAL(n,m) |
FIXED DECIMAL(n,m) |
|
CHAR(255) |
CHAR(255) |
|
CHAR(255) |
CHAR(255) |
where the length is not defined |
CHAR(z) where z =4×(ceil(y/3)). ceil(x) is the smallest integer greater than or equal to xSupported at mapping level 1.1 |
CHAR(y) where the length is fixedCHAR(16) where the length is not defined. The field holds the 16-byte name of the container that stores the binary data. |
|
CHAR(32) |
|
|
CHAR(32) |
|