$KANJIXw. Format

Removes shift-code data from DBCS data.
Category: DBCS
Alignment: left

Syntax

$KANJIXw.

Syntax Description

w
specifies the width of the output field.
Range:The minimum width of the format is 2.
Restriction:The width must be an even number. If it is an odd number, it is truncated. The width must be equal to or greater than the length of the shift-code data.

Details

The $KANJIX format removes shift-code data from DBCS data. The input data length must be 2 + (SO/SI length)*2. The data must start with SO and end with SI, unless single-byte data is returned.
The $KANJIX format processes host mainframe data, but $KANJIX can be used on other platforms. If you use the $KANJIX format on non-EBCDIC (non-modal encoding) hosts, the data does not change.