IBM Support

PI06527: DB2 ADMINISTRATION TOOL FOR Z/OS CHANGE MANAGEMENT ANALYZE DOES NOT PROCESS PROPERLY RENAMED COLUMN OF THE UNIQUE INDEX

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • DB2 Administration Tool for z/OS CHANGE MANAGEMENT ANALYZE
    does not process properly renamed column of the unique index
    when WSL Validate option is specified and msgADB3012E issued:
    .
    ADB3012E Error processing Index schema.ixname in CREATE
    statement: The primary index or index enforcing unique
    constraint does not have a matching primary or unique key.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 Administration Tool for z/OS    *
    *                 who rename a column which is a column of a   *
    *                 primary key or unique key, and there is a    *
    *                 unique index defined for the primary key     *
    *                 or the unique key.                           *
    ****************************************************************
    * PROBLEM DESCRIPTION: In DB2 Administration Tool for z/OS,    *
    *                      when using the ALT function to rename   *
    *                      a column which has a primary key or a   *
    *                      unique key defined on it, and also has  *
    *                      a unique index for the primary key or   *
    *                      unique key, the wrong ALTER TABLE       *
    *                      statement for updating the primary      *
    *                      key or unique key was generated using   *
    *                      the old column name before being        *
    *                      renamed in the CHANGE file.  Analyzing  *
    *                      this change with the Validate option    *
    *                      fails with RC=12  / return code 12      *
    *                      and a error message in the job log:     *
    *                                                              *
    *                      ADB3012E                                *
    *                      Error processing Index >index-name<     *
    *                      in CREATE statement:  The primary       *
    *                      index or index enforcing unique         *
    *                      constraint does not have a matching     *
    *                      primary or unique key.                  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    In DB2 Administration Tool for z/OS, when using the ALT function
    to rename a column which has a primary key or a unique key
    defined on it, and also has a unique index for the primary key
    or unique key, the wrong ALTER TABLE statement for updating the
    primary key or unique key was generated using the old column
    name before being renamed in the CHANGE file.  Analyzing this
    change with the Validate option fails with RC=12  /  return
    code 12 and a error message in the job log:
    
    ADB3012E
    Error processing Index >index-name< in CREATE statement:
    The primary index or index enforcing unique constraint
    does not have a matching primary or unique key.
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI06527

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-11-20

  • Closed date

    2013-12-11

  • Last modified date

    2014-01-02

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

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

    UI13422

Modules/Macros

  • ADB2CMR
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RB10 PSY UI13422

       UP13/12/13 P F312

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

Document Information

Modified date:
02 January 2014