Figure 53 Conversion for Decimal Point = 3, Zero suppression" and Insert before effective digits"
Specified
.
Figure 54 Conversion for Decimal Point = 0, No zero suppression" and Unsigned" Specified
.
All-space Fields
Fields that only contain spaces (all data is X'40') unconditionally generate a data error (error code:
760).
0-only Fields
Fields that contain only 0 are converted according to the All-space field" option in the Edit Option
file.
When the option to convert 0 in 0-only fields to 0 (TRAN_ALLSPACE_NORMAL) is specified, 0 is
converted to 0 as in normal numeric value conversions.
When the option to convert 0 in 0-only fields to spaces (TRAN_ALLSPACE_ZERO) is specified, all 0's
are converted to spaces (X'20'), as shown in the following figure. The sign position, zero suppression,
and the number of decimal digits specified in the Edit Option file, as well as the sign of the input
data, is ignored.
Figure 55 Conversion of 0 in a 0-only Field to Spaces
.
P9000 Data Exchange Code Converter User Guide
67