


B.2.3 Data Type Differences
For floating point and integer COMP-5 data (32-bits or less), the PRECISION,
LENGTH and SCALE values under 5.0 were "0". Under 5.1, these values are derived
from the size of the data.
For all integer numeric types, the LENGTH field is different in Version 5.0
than in Version 5.1. This field is the buffer size needed to hold a return value
from a "get data" call. The 5.1 values are always greater than or equal to
the actual size needed. The 5.0 values are one too small for signed data.
The returned data format is different for some numeric forms. The logical
value is the same; just the format is different. For example, Version 5.0 returns
a PIC 9(4) VALUE ZERO field as "+0000" while Version 5.1 returns the same
field as "0".