Unicode-Specific Error Messages

These error messages can occur when you are running a COBOL program against a Unicode database:

  • Fetch failed: unsuccessful UCS-2 to UTF-8 conversion on column column_number.

  • Bind of parameter failed: unsuccessful UTF-8 to UCS-2 conversion on column column_number.

  • Attempting to use a non-Unicode API to access a Unicode database.

  • Attempting to use a non-Unicode COBOL with a Unicode database.

  • Attempting to use a Unicode API to access a non-Unicode database.

  • Fetch failed: the converted Unicode length of length exceeds the allocated buffer length length for column column_number.

These messages appear in the COBOL output log file.