IBM Support

LI78441: Setting CATENTRY long description with a large text value in some languages fails

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When trying to set the CATENTRY long description in a language
    such as Russian, an error similar to the following might appear
    if the description is longer than the field size.
    
    Caused by: com.ibm.db2.jcc.am.SqlDataException: DB2 SQL Error:
    SQLCODE=-302, SQLSTATE=22001, SQLERRMC=null, DRIVER=4.14.103
       at com.ibm.db2.jcc.am.ed.a(ed.java:669)
    

Local fix

Problem summary

  • USERS AFFECTED:
    Users who wants to update long description longer than 4000
    characters in some languages such as Russian.
    
    PROBLEM ABSTRACT:
    Setting CATENTRY long description with a large text value in
    some languages fails.
    
    BUSINESS IMPACT:
    Management Center cannot be used to add long description longer
    than 4000 characters due to truncation errors.
    
    RECOMMENDATION:
    

Problem conclusion

  • The long description needs to be truncated when the length
    exceeds the maximum field size (currently 4000 bytes).  The
    calculation of the length of the field when encoded in UTF16 was
     not being done correctly.  This iFix changes the length
    calculation method to ensure correct truncation happens,
    preventing the exception from the database.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI78441

  • Reported component name

    WC BUS ED ILINU

  • Reported component ID

    5724I3804

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-02-19

  • Closed date

    2015-05-15

  • Last modified date

    2015-05-25

  • 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

    WC BUS ED ILINU

  • Fixed component ID

    5724I3804

Applicable component levels

  • R600 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYSYL","label":"WebSphere Commerce Enterprise"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
25 May 2015