IGCANKCNV (Alphanumeric-to-DBCS Conversion) keyword

Use this field-level keyword to convert alphanumeric characters to equivalent DBCS characters (Japanese only).

Each DBCS character is printed twice as wide as a printed alphanumeric character.

This keyword has no parameters.

In addition to converting alphanumeric characters, the system adds shift-control characters at the beginning and end of converted character strings.

For example, the string

ABCDE

appears as:

0EA B C D E0F

after it is converted. Note that shift-control characters were added to the string (0E=shift-out, 0F=shift-in).

You may specify IGCANKCNV for any named field.

Consider the following information when using the IGCANKCNV keyword:

Example

The following example shows how to specify the IGCANKCNV keyword on the DDS coding form.

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A*
00020A*
00030A          R RECORD                    CHRSIZ(2) SKIPB(3)
00040A            FLDA          400       20SPACEA(2)
00050A            FLDB          80A       20SPACEA(2) CHRISIZ(1)
00060A            FLDC          20A       20SPACEA(2) IGCANKCNV
     A

The alphanumeric characters printed from FLDC are converted to equivalent DBCS characters. These converted characters are then expanded because the record was specified with the DDS keyword CHRSIZ(2).

Related concepts
Keyword entries for printer files (positions 45 through 80)
Related reference
Keyword considerations for printer files that use double-byte character set
IGCCDEFNT (DBCS Coded Font) keyword