IBM Support

JR57153: INCORRECT COLUMN LENGTH AND CHARACTERS WHEN READING FROM MYSQL WITH NON-GENERIC UTF-8.

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 reading from a MySQL table with a non-generic utf8
    collation (i.e. utf8_spanish_ci), DataStage is detecting three
    times the actual length of the column and it is issuing the
    following warning:
    
    When binding output interface field "col" to field "col":
    Implicit conversion from source type "ustring[max=30]" to
    result type "ustring [max=10]": Possible truncation of variable
    length string.
    
    Also, the accented characters or letters with diacritic are
    wrongly decoded, so an "a with diatritic acute" is interpreted
    like an "upper case A with tilde followed by an inverted
    exclamation mark".
    

Local fix

  • This does not happen if you switch the column collation to
    "utf8_general_ci", but you might not be able to use this
    workaround if you need to distinguish between letter "N" and
    Upper case 'n' with tilde  which are two completely different
    letters in Spanish.
    

Problem summary

  • Incorrect column length and characters when reading from MYSQL
    with non-generic utf-8.
    

Problem conclusion

  • Install latest MYSQL DD driver, which fixed the non-generic
    utf-8 chars, when reading from mysql database.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR57153

  • Reported component name

    WIS DATASTAGE

  • Reported component ID

    5724Q36DS

  • Reported release

    B50

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-12-13

  • Closed date

    2017-01-02

  • Last modified date

    2017-01-02

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

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

Modules/Macros

  •    DD-Drive
    

Fix information

  • Fixed component name

    WIS DATASTAGE

  • Fixed component ID

    5724Q36DS

Applicable component levels

  • R810 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSVSEF","label":"IBM InfoSphere DataStage"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.5","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
02 January 2017