Previous Topic: External Form—Output

Next Topic: Named Values

Local Form and Behavior

Internally, Mapping Services can store integers in one of the following formats:

Binary

Can be up to 4 bytes in length. If the length is not fixed, the value is kept in the smallest number of bytes possible. If the length is fixed, the value is right aligned and sign extended to the left.

Packed

Can be up to 8 bytes in length. The integer value is converted to the packed decimal equivalent. If the length is not fixed, the value is kept in the smallest number of bytes possible. If the length is fixed, the value is right aligned and zero padded to the left.

Zoned

Can be up to 15 bytes in length. The integer value is converted to the packed decimal equivalent. If the length is not fixed, the value is kept in the smallest number of bytes possible. If the length is fixed, the value is right aligned and zero padded to the left.

For any format, if a value exceeds that which can be stored without loss of significance a type check results. If a named value is input, the map definition is used to determine the actual integer value.