For PL/I, use the following data types in the
<vars> tag:
- data
- Extracts a subarea of the parameter as raw byte data. You must specify the size and offset.
- char
- Specifies a character variable, with attribute
varying if the string is encoded as a varying-length string in the structure. Offset defaults to 0, and size is specified via the
required
len attribute, which specifies the string length.
- bit
- Specifies a bit string variable, with attribute
varying if the string is encoded as a varying-length string in the structure. Offset defaults to 0, and size is specified via the
required
len attribute, which specifies the string length in bits.
- fixed
- Specifies a fixed-point numeric variable, with attributes
mode (binary or
decimal, the default),
scale (default 0), and
prec (precision, default 5). Offset defaults to 0, and size is overridden with a value calculated from the type.
- float
- Specifies a floating-point numeric variable, with attributes
mode (binary or
decimal, the default) and
prec (precision, default 5). Offset defaults to 0, and size is overridden with a value calculated from the type.
Note: Do not use
bitoffset and
bitsize for types other than bit string.