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:
BLKFOLD
CPI
DFT
IGCALTTYP
10 ((4 characters by 2) + 2 shift-control characters)
If you specify additional characters to be included in the string, such as with the EDTWRD function, those characters also are expanded and the length of the string changes accordingly. For example, suppose you specify a 4-position field that also includes a dollar sign and a decimal point, such as:
$12.34
After the field is converted, the field length is 14. The four numbers in the field are expanded (eight positions), the dollar sign and the decimal point are expanded (four positions) and shift-control characters are added (two positions).
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).