For COBOL, 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.
- auto
- Automatically determines the type of the variable, using the offset. If that is not possible,
auto looks for a matching variable declaration and uses its type. You must specify the offset.
- int
- Behaves as
auto, additionally checking that the resulting value is a valid integer and converting it to the canonical form. Offset defaults
to 0.
Note: Do not use
auto when the content of a numeric field is binary, use
int. The parser extracts the binary content and converts it to the corresponding numeric string.
bitoffset and
bitsize are currently not supported.
auto is not always reliable, use
data whenever possible.