$KANJIw. Informat

Removes shift code data from DBCS data.
Category: DBCS

Syntax

$KANJIw.

Syntax Description

w
specifies the width of the input field.
Range:The minimum width for the informat 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 $KANJI informat removes shift-code data from DBCS data. The $KANJI informat processes host-mainframe data. $KANJI can be used on other platforms. If you use the $KANJI informat on non-EBCDIC (non-modal encoding) hosts, the data does not change.
The data must start with SO and end with SI, unless single-byte blank data are returned. The input data length must be 2 + (SO/SI length)*2.