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.