Figure 10 Shift Code Deletion Processing
.
When carrying out double-byte code conversion (double-byte and single-byte in the same field) from
a coding system with a shift code to a coding system without a shift code, the shift codes are deleted.
A shift code is a special code that shows the boundary of double-byte/single-byte characters. Data
is left-aligned in the output field. Extra space in the output field is padded with the field padding code
(double-byte or single-byte space).
Shift Code Insertion Processing (Double-byte and Single-byte Combination)
The following figure illustrates the shift code insertion process.
Figure 11 Shift Code Insertion Process
.
When carrying out double-byte code conversion (double-byte and single-byte in the same field) from
a coding system without a shift code to a coding system with a shift code, a shift code can be inserted
where necessary. A shift code is a special code that shows the boundary of double-byte/single-byte
characters. If extra space still remains in the output field, it is filled up with a field padding code
(double-byte/single-byte space). The end of input data is discarded when an output field area runs
short as a result of inserting shift codes.
Shift Code Insertion Suppression Processing (Double-byte and Single-byte
Combination)
The following figure illustrates the shift code insertion suppression process.
26
Code Converter Functions