IBM Support

IC83816: THE INDEX RECREATED WITH SYSPROC.ADMIN_MOVE_TABLE PROCEDURE MIGHT HAVE WRONG DEFINITION.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • If table for which index was created with 'GENERATE KEY USING
    XMLPATTERN ... AS ... REJECT INVALID VALUES' clause was moved
    with SYSPROC.ADMIN_MOVE_TABLE procedure, then recreated index
    will have wrong definition.
    REJECT INVALID VALUES clause will be changed to IGNORE INVALID
    VALUES clause.
    
    The issue can be observed with db2look utility:
    
    db2look -d sample -z db2inst1 -t tab1 -e
    
            CREATE INDEX "DB2INST1"."IND1" ON "DB2INST1"."TAB1"
                            ("C_XML" ASC)
                            GENERATE KEY USING XMLPATTERN '/row/c1'
                            AS SQL DOUBLE   REJECT INVALID VALUES
    <<<<<
                            COMPRESS NO ALLOW REVERSE SCANS;
    
    db2 "CALL
    SYSPROC.ADMIN_MOVE_TABLE('DB2INST1','TAB1','','','','','','','',
    '','MOVE')"
    
    db2look -d sample -z db2inst1 -t tab1 -e
    
            CREATE INDEX "DB2INST1"."IND1" ON "DB2INST1"."TAB1"
                            ("C_XML" ASC)
                            GENERATE KEY USING XMLPATTERN '/row/c3'
                            AS SQL DOUBLE   IGNORE INVALID VALUES
    <<<<<
                            COMPRESS NO ALLOW REVERSE SCANS;
    

Local fix

  • No local fix.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description.                                       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 Version 9.7 Fix Pack 7.                       *
    ****************************************************************
    

Problem conclusion

  • Problem was first fixed in DB2 Version 9.7 Fix Pack 7.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC83816

  • 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

    2012-05-29

  • Closed date

    2012-10-20

  • Last modified date

    2012-10-20

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

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

    IC87910 IC87919 IC88623

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSN

       UP

  • RA10 PSN

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IC83816

Modified date: 20 October 2012