Unicode variable-length character strings (unichar) are SQL data types similar to variable-length character strings, but are encoded using UTF-16 characters instead of single- or mixed-byte characters.
01 unichar1. 49 unichar1-len PIC S9(4) COMP-5. 49 unichar1-data PIC N(200) USAGE NATIONAL. 01 unichar2. 49 unichar1-len PIC S9(4) COMP. 49 unichar1-data PIC N(200) USAGE NATIONAL.
For more information on using host variables with international data, see OpenESQL Globalization Best Practices.