IBM Support

IC66186: UNLOAD/DBEXPORT TRUNCATE VARCHAR DATA WHILE CONVERTING IT FROM EN_US.8859-1 TO EN_US.UTF8

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • When you have a database using locale en_us.8859-1 and
    containing a table with a VARCHAR column which holds non-ASCII
    characters and you unload that table (or dbexport that database)
    with DB_LOCALE set to 'en_us.8859-1' and CLIENT_LOCALE set to
    en_us.utf8, the data in the VARCHAR column gets truncated during
    the conversion.
    The non-ASCII characters are stored as one-byte in EN_US.8859-1,
    but some of them are muti-byte in UTF8. After the conversion,
    the actual length of the data in the VARCHAR column might
    increase, however the unload & dbexport utilities truncate them
    to the original length of the VARCHAR column.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All users                                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * When exporting data from a database with DB_LOCALE set to    *
    * en_us.8859-1 and CLIENT_LOCALE set to en_us.utf8, data       *
    * exported from VARCHAR columns are truncated after codeset    *
    * conversion.                                                  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to Informix  11.50.xC7                               *
    ****************************************************************
    

Problem conclusion

  • Beginning with IDS 11.50.xC7, the exported data will not be
    
    truncated after codeset conversion.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC66186

  • Reported component name

    IBM IDS ENTRP E

  • Reported component ID

    5724L2304

  • Reported release

    B15

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-02-10

  • Closed date

    2010-10-15

  • Last modified date

    2010-10-15

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    IBM IDS ENTRP E

  • Fixed component ID

    5724L2304

Applicable component levels

  • RB15 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSGU8G","label":"Informix Servers"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"B15","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
15 October 2010