Previous Topic Next topic Print topic


Unicode Character Strings

Unicode character strings (UNI) are SQL data types similar to fixed-length character strings, but are encoded using UTF-16 characters instead of single- or mixed-byte characters.

Host Variable Formats

OpenESQL and DB2 ECM
03 uni-field1      PIC N(X) USAGE NATIONAL.
OpenESQL JVM Managed Runtime
In addition to the definition valid for OpenESQL, the following definition is also valid for the OpenESQL JVM Managed Runtime:
01 uni-field2      string.

For more information on using host variables with international data, see OpenESQL Globalization Best Practices.

Previous Topic Next topic Print topic