Summary of datatypes used with Japanese characters

Table 2-13 lists the datatypes that are used with Japanese characters.

Table 2-13: Datatypes used with Japanese characters

Datatype

Used with

Uses SO/SI or SS2

Length measures

TDSCHAR TDSVARYCHAR

DBCS and SBCS. At the workstation and at the mainframe.

IBM Kanji: Uses SO/SI with double-byte characters. EUC-JIS: Uses SS2 with hankaku katakana.

For all character sets: Number of bytes. Maximum length for TDSCHAR and TDSVARYCHAR is 255.

TDSGRAPHIC TDSVARYGRAPHIC

DBCS only. At mainframe only.

No.

Number of characters. Maximum length is 127.