SBCS DB2/2 supports three data types for character strings. In DBCS OS/2, data type support for character strings is enhanced as follows:
In this chapter, the term graphic string (instead of DBCS string) is used as a generic name of these data types and the term character string (equivalent to mixed string) is limited to CHAR, VARCHAR and LONG VARCHAR types to distinguish them from graphic string types.
The following lists values of the SQLTYPE field of an SQLDA (SQL
Descriptor Area):
Data Type
Values (Null Indicator: no/yes)
Data Type
Graphic strings are not compatible with character strings. Comparison or assignment between them will cause an error.