IBM Support

PM49343: CHANGE MANAGEMENT/CM SQLCODEN660 ON CREATE INDEX AFTER NUMPART CHANGE

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Users of the DB2 Administration Tool for z/OS' Change Management
    function
    gets SQLCODEN660 when changing number of partitions in index.
    Example:
    DSNT408I SQLCODE = -660, ERROR:  INDEX <index> CANNOT BE CREATED
    OR ALTERED ON
             PARTITIONED TABLE SPACE <tsname> BECAUSE KEY LIMITS ARE
    NOT SPECIFIED
    DSNT418I SQLSTATE   = 53035 SQLSTATE RETURN CODE
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Administration Tool for     *
    *                 z/OS who use the ALT (Alter Table) command.  *
    ****************************************************************
    * PROBLEM DESCRIPTION: When altering an index-based            *
    *                      partitioning table, an invalid index    *
    *                      type is generated, and the index limit  *
    *                      keys are not generated, leading to a    *
    *                      SQLERROR=-660 / SQLCODEN660 error:      *
    *                                                              *
    *                      INDEX index-name CANNOT BE CREATED OR   *
    *                      ALTERED ON PARTITIONED TABLE SPACE      *
    *                      tspace-name BECAUSE KEY LIMITS ARE      *
    *                      NOT SPECIFIED                           *
    *                                                              *
    *                      DSNT418I SQLSTATE   = 53035             *
    *                      SQLSTATE RETURN CODE                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When altering an index-based partitioning table, an invalid
    index definition is used, leading to the following
    SQLERROR=-660 / SQLCODEN660 error:
    
    INDEX index-name CANNOT BE CREATED OR ALTERED ON PARTITIONED
    TABLE SPACE tspace-name BECAUSE KEY LIMITS ARE NOT SPECIFIED
    
    DSNT418I SQLSTATE   = 53035 SQLSTATE RETURN CODE
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM49343

  • Reported component name

    DB2 OBJECT COMP

  • Reported component ID

    5697G6400

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2011-10-04

  • Closed date

    2011-11-23

  • Last modified date

    2011-12-02

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

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

Modules/Macros

  •    ADBCDTS
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RA10 PSY UK74151

       UP11/11/29 P F111

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.

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSZJXP","label":"DB2 Tools for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"A10"}]

Document Information

Modified date:
18 March 2021