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

Example 1. Using ICUALIAS to Remap CCSID 37 to Thai 878

Example 1. Using ICUALIAS to Remap CCSID 37 to Thai 878

In this example, you need to consolidate data from different locations into DB2 for i5/OS tables. The CCSID is set to 37, but the data is in the EBCDIC Thai code page at internal code page number 222, which uses ICU converter ibm-838_P100-1995.
By adding ICUALIAS statements to the DBMOVER configuration file, we can remap CCSID 37 to the Thai code page for all DB2 tables accessed with the associated PowerExchange Listener.
Use the following steps to remap the data and extract it to a flat file in UTF8:
  1. Create a separate PowerExchange Listener for each problem code page. Make sure that each PowerExchange Listener has a different i5/OS port and DBMOVER configuration file.
  2. Include the following statements in the DBMOVER configuration file for the PowerExchange Listener that is used to access the Thai data:
    ICUALIAS=(003,DELETE,CP37) ICUALIAS=(189,DELETE,CP37 ICUALIAS=(222,ADD,CP37)
    These statements, respectively, accomplish the following results:
    • Remove the default mapping between CCSID 37 and the Internal code page 3 with non-ICU converter name IBM-037
    • Remove the default mapping between CCSID 37 and the internal code page 189 with ICU converter name ibm-37_P100-1995
    • Add a mapping between CCSID 37 and the internal code page number 222 with ICU converter name ibm-838_P100-1995
  3. From the PowerExchange Navigator, run the DTLDESCRIBE COLUMNS command to verify that the data is described using the required internal code page number.
  4. From the PowerExchange Navigator, run a database row test to view the data.
  5. Create and run a PowerCenter workflow to copy the data to a flat file in UTF-8. Then view the flat file to verify that no characters were lost.

0 COMMENTS

We’d like to hear from you!