IBM Support

IC76678: DB2 Text Search fails to update, alter or drop the text index if the schema length is longer than 20 characters

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • DB2 Text Search fails to update, alter or drop the text index if
    the schema length is longer than 20 characters, and error
    message "CLI0109E  String data right truncation. SQLSTATE=22001"
    is returned.
    
    db2ts  "update index db2ts1234567891234567.bookidx for text";
    CLI0109E  String data right truncation. SQLSTATE=22001
    
    db2ts "alter index db2ts1234567891234567.bookidx for text UPDATE
    FREQUENCY NONE";
    CLI0109E  String data right truncation. SQLSTATE=22001
    
    db2ts "drop index db2ts1234567891234567.bookidx for text";
    CLI0109E  String data right truncation. SQLSTATE=22001
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * DB2 Text Search users                                        *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * DB2 Text Search fails to update, alter or drop the text      *
    * index if                                                     *
    * the schema length is longer than 20 characters, and error    *
    *                                                              *
    * message "CLI0109E  String data right truncation.             *
    * SQLSTATE=22001"                                              *
    * is returned.                                                 *
    *                                                              *
    *                                                              *
    *                                                              *
    * db2ts  "update index db2ts1234567891234567.bookidx for       *
    * text";                                                       *
    * CLI0109E  String data right truncation. SQLSTATE=22001       *
    *                                                              *
    *                                                              *
    *                                                              *
    * db2ts "alter index db2ts1234567891234567.bookidx for text    *
    * UPDATE                                                       *
    * FREQUENCY NONE";                                             *
    *                                                              *
    * CLI0109E  String data right truncation. SQLSTATE=22001       *
    *                                                              *
    *                                                              *
    *                                                              *
    * db2ts "drop index db2ts1234567891234567.bookidx for text";   *
    *                                                              *
    * CLI0109E  String data right truncation. SQLSTATE=22001       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 version v9.7 fixpack 5 or later version.      *
    ****************************************************************
    

Problem conclusion

  • With the fix in DB2 v9.7 fixpack 5, DB2 Text Search will succeed
    to update, alter or drop the text index when the schema length
    is longer than 20 characters.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC76678

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-05-29

  • Closed date

    2011-12-07

  • Last modified date

    2011-12-07

  • 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

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSN

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IC76678

Modified date: 07 December 2011