IBM Support

PM40615: ADB3009E ERROR PROCESSING INDEX IN CREATE STATEMENT: NUMBER OF INDEX PARTITIONS DOES NOT MATCH..OR SQLCODEN644 IF EXECUTED

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The DB2 Administration Tool for z/OS's WSLVALn step issues a:
    "ADB3009E Error processing Index aaaaaaa.aaaaaaaa in CREATE
    statement: Number of index partitions does not match the number
    of table space partitions"
    when "Validate WSL" YES is specified
    or the APPLY job fails with a SQLCODEN644:
    DSNT408I SQLCODE = -644, ERROR:  INVALID VALUE SPECIFIED FOR
    KEYWORD OR CLAUSE PART IN STATEMENT CREATE
    DSNT418I SQLSTATE   = 42615 SQLSTATE RETURN CODE
    as the change is implemented via:
    ALTER TABLE  DROP PRIMARY KEY
    DROP INDEX
    CREATE INDEX
    before the tablespace has been altered.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Object Comparison Tool for  *
    *                 z/OS who add parts and make other changes to *
    *                 tables which require ALTER only, and make    *
    *                 changes indexes that require DROP/CREATE.    *
    ****************************************************************
    * PROBLEM DESCRIPTION: The DB2 Object Comparison Tool attempts *
    *                      to DROP/CREATE the index with the       *
    *                      increased number of parts before adding *
    *                      the parts to the table. This can fail   *
    *                      during the WSL VALIDATE step and issue  *
    *                      a SQLCODE=-644/ SQLCODEN644 if          *
    *                      executed:                               *
    *                                                              *
    *                      "ADB3009E Error processing Index        *
    *                      aaaaaaa.aaaaaaaa in CREATE              *
    *                      statement: Number of index partitions   *
    *                      does not match the number of table      *
    *                      space partitions"                       *
    *                                                              *
    *                      DSNT408I SQLCODE = -644, ERROR:         *
    *                      INVALID VALUE SPECIFIED FOR             *
    *                      KEYWORD OR CLAUSE PART IN               *
    *                      STATEMENT CREATE                        *
    *                      DSNT418I SQLSTATE   = 42615             *
    *                      SQLSTATE RETURN CODE                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The DB2 Object Comparison Tool did not recognize the condition
    requiring the addition of the parts to the table before the
    index was recreated.
    

Problem conclusion

  • The problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM40615

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-06-01

  • Closed date

    2011-07-12

  • Last modified date

    2011-08-01

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

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

    UK69660

Modules/Macros

  •    ADB2CMF  ADB2CMP  ADB2CMR
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RA10 PSY UK69660

       UP11/07/15 P F107

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSCVQTD","label":"IBM Db2 Administration Tool for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.1.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
01 August 2011