Table of Contents

Search

  1. Preface
  2. Introduction to PowerExchange
  3. DBMOVER Configuration File
  4. Netport Jobs
  5. PowerExchange Message Logs and Destination Overrides
  6. SMF Statistics Logging and Reporting
  7. PowerExchange Security
  8. Secure Sockets Layer Support
  9. PowerExchange Alternative Network Security
  10. PowerExchange Nonrelational SQL
  11. PowerExchange Globalization
  12. Using the PowerExchange ODBC Drivers
  13. PowerExchange Datatypes and Conversion Matrix
  14. Appendix A: DTL__CAPXTIMESTAMP Time Stamps
  15. Appendix B: PowerExchange Glossary

Code Page Conversion Errors

Code Page Conversion Errors

If it is not possible to convert a character from one code page to another, ICU replaces the character with the substitution value for the current code page by default. Typically, this substitution value is a hexadecimal value, such as x'1A' or x'3F'.
The following situations can prevent character conversion:
  • The character is not valid for the source code page. This situation can be caused by describing the data in the wrong code page.
  • The character is valid in the source code page, but no equivalent character exists in the target code page. This situation is common if converting from multibyte characters to a single-byte target code page.
PowerExchange aborts when connecting to databases or describing tables if a code page conversion error occurs during initialization. PowerExchange uses substitution characters if any column or parameter data does not convert.
The following table summarizes conversion errors by context:
Data Type and Context
Result
Action
Names of databases, tables, columns, and files during initialization.
Processing aborts.
Check the control code page.
User ID and password during connect processing.
Processing aborts.
Check the control code page.
SQL during Describe processing.
Processing aborts.
Check the SQL code page.
Column data during select processing.
Unrecognized characters are replaced with the substitution characters of the target code page which are hexadecimal values.
Processing continues.
Check the data code page
Verify that the source data is described correctly using DTLDescribe columns.
Parameter data during delete, insert, select, and update processing.
Unrecognized characters are replaced with the substitution characters of the target code page which are hexadecimal values.
Processing continues.
Check the data code page.
Verify that the source and target data are described correctly using DTLDescribe columns.

0 COMMENTS

We’d like to hear from you!