$KANJIw. Format

Adds shift-code data to DBCS data.
Category: DBCS
Alignment: left

Syntax

$KANJIw.

Syntax Description

w
specifies the width of the output field.
Range:The minimum width of the format is 2 + (length of shift code used on the current DBCSTYPE= setting)*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 $KANJI format adds shift-code data to DBCS data that does not have shift-code data. If the input data is blank, shift-code data is not added.
The $KANJI format processes host-mainframe data, but $KANJI can be used on other platforms. If you use the $KANJI format on non-EBCDIC (non-modal encoding) hosts, the data does not change.