IBM Support

PI39871: ALT HANDLING OF INDEX INCLUDE COLUMN(S)

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' ALT function incorrectly
    structures DDL when changes are made to add an index column
    as an INCLUDE.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Administration Tool for     *
    *                 z/OS who use the 'ALT Redefine an index'     *
    *                 (ALT) line command to alter an index and     *
    *                 add an INCLUDE column on panel ADB21XAR      *
    *                 'Redefine Index'.                            *
    ****************************************************************
    * PROBLEM DESCRIPTION: When using ALT to alter a unique        *
    *                      index and add an INCLUDE column, the    *
    *                      job drops and recreates the index,      *
    *                      but the index is not created correctly: *
    *                                                              *
    *                      For example:                            *
    *                      The original index is defined as:       *
    *                                                              *
    *                      CREATE UNIQUE INDEX >index_name<        *
    *                      ON TABLE >table_name<                   *
    *                      (COL1 ..                                *
    *                      COL2..                                  *
    *                      )                                       *
    *                      ...                                     *
    *                      INCLUDE(COL3)                           *
    *                      ...                                     *
    *                                                              *
    *                      then COL4 is added as the INCLUDE       *
    *                      column for the index, and the           *
    *                      submitted job generates the following   *
    *                      statement:                              *
    *                                                              *
    *                      DROP  INDEX >index_name<;               *
    *                                                              *
    *                      CREATE UNIQUE INDEX >index_name<        *
    *                      ON TABLE >table_name<                   *
    *                      (COL1 ...                               *
    *                      COL2 ...                                *
    *                      COL3 ...                                *
    *                      )                                       *
    *                      ...                                     *
    *                      INCLUDE(COL4)                           *
    *                      ...                                     *
    *                      The INCLUDE should be INCLUDE(COL3,     *
    *                      COL4).                                  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When performing an 'ALT - Redefine an index' on a unique index
    to add an INCLUDE column, the index is not created correctly.
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI39871

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    A20

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-04-24

  • Closed date

    2015-07-07

  • Last modified date

    2015-08-03

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

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

    UI29165 UI29166

Modules/Macros

  • ADB21XAS
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RA20 PSY UI29165

       UP15/07/10 P F507

  • RB10 PSY UI29166

       UP15/07/10 P F507

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

Document Information

Modified date:
03 August 2015