Previous Page | Next Page

Formats for NLS

$KANJIw. Format

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

Syntax Description
See Also



Syntax Description


specifies the width of the output field.

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.
Range: The minimum width of the format is 2 + (length of shift code used on the current DBCSTYPE= setting)*2.


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.

See Also


$KANJIXw. Format


$KANJIw. Informat

$KANJIXw. Informat

System Options:

DBCSTYPE System Option: UNIX, Windows, and z/OS

Previous Page | Next Page | Top of Page