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

ICUCONVERTER Statement

ICUCONVERTER Statement

The ICUCONVERTER statement adds a code page converter to or deletes a code page converter from an ICU code page.
All
ICUALIAS, ICUCNVPROPERTY, and ICUDATADIR
No
For the ADD command:
ICUCONVERTER=(
CPN
,ADD ,
code_page_name
,
min_bytes
,
max_bytes
,
space_hex
)
For the DELETE commands:
ICUCONVERTER=(
CPN
,{DELETE|DELETEALL})
CPN
Required. The code page slot number for which to add or delete a code page converter. Valid values are from 301 through 340.
To identify available code page slots, see the ICUCHECK report.
command
Required. The command to apply to the specified code page slot number. Enter one of the following options:
  • ADD.
    Adds the specified code page converter to the specified code page slot number. For example, to add the user_showa_01 code page into CPN 301, include the following statement:
    ICUCONVERTER=(301,ADD,user_showa_01,2,2,0000)
    In this example, all characters are two bytes. The hexadecimal space character is \X00\X00.
    The following example adds the user_cp930 code page into CPN 302:
    ICUCONVERTER=(302,ADD,user_cp930,1,2,40)
    All characters in this example use either one or two bytes. The hexadecimal space character is \X40.
  • DELETE.
    Deletes the specified code page converter from the specified code page slot number. For example, to delete a code page and all its aliases from the system, include the following statement:
    ICUCONVERTER=(301,DELETE)
    If you include a DELETE statement, also include an ADD statement to add a replacement custom ICU code page.
  • DELETEALL.
    Deletes all code page converters from the specified code page slot number.
    The DELETEALL command uses the following parameters:
    ICUALIAS=(CPN,DELETEALL)
code_page_name
Required for the ADD command. Not used by the DELETE commands. The name of the code page converter. This name is also a component of the CNV file name.
min_bytes
Required for the ADD command. Not used by the DELETE commands. The minimum number of bytes for each character.
max_bytes
Required for the ADD command. Not used by the DELETE commands. The maximum number of bytes for each character.
space_hex
Required for the ADD command. Not used by the DELETE commands. A hexadecimal character that represents the space character. PowerExchange verifies that it can convert this character in UTF-8 during initialization. PowerExchange appends this character to CHAR columns where the data is short.

0 COMMENTS

We’d like to hear from you!