IBM Support

LI73227: CLP TRUNCATE OUTPUT BUFFER, IF INPUT DATA IS EBCDIC AND OUTPUT DATA IS UTF-8 IN JAPANESE.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Hankaku-KANA in EBCDIC data is 1 byte but UTF-8 needs 3 bytes.
    If data is stored as "AIUEO" (EBCDIC data ), UTF-8 needs 15
    bytes.
    CLP alloced 5 bytes for output buffer, truncated EBCDIC data.
    Finally select "AIUEO" from EBCDIC return "A".
    

Local fix

  • If possible, exceed column size x 3 in z/OS side.
    

Problem summary

  • Hankaku-KANA in EBCDIC data is 1 byte but UTF-8 needs 3 bytes.
    If data is stored as "AIUEO" (EBCDIC data ), UTF-8 needs 15
    bytes.
    CLP alloced 5 bytes for output buffer, truncated EBCDIC data.
    Finally select "AIUEO" from EBCDIC return "A".
    

Problem conclusion

  • Problem was first fixed in DB2 UDB Version 9.5 FixPack 1
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI73227

  • Reported component name

    DB2 UDE ESE LIN

  • Reported component ID

    5765F4104

  • Reported release

    950

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-03-19

  • Closed date

    2008-05-11

  • Last modified date

    2008-05-11

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

    LI72496

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

Modules/Macros

  • ENGN_CLP
    

Fix information

  • Fixed component name

    DB2 UDE ESE LIN

  • Fixed component ID

    5765F4104

Applicable component levels

  • R950 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEPGG","label":"DB2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"950","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
11 May 2008