IBM Support

IC87919: 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:                                              *
    * Users who use ADMIN_MOVE_TABLE in DB2 V10.1                  *
    ****************************************************************
    * PROBLEM 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;     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade DB2 server to V101FP2                                *
    ****************************************************************
    

Problem conclusion

  • Upgrade DB2 server to V101FP2
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC87919

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-11-04

  • Closed date

    2013-01-17

  • Last modified date

    2013-01-17

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

    IC83816

  • 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

  • RA10 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":"10.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
17 January 2013