IBM Support

PM98432: GEN / DDL FUNCTION: INCORRECT DDL WHEN AN INCLUDE COLUMN IS ADDE D TO AN INDEX THAT IS FOR A PRIMARY KEY, CREATED PRIOR TO DB2 7

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' GEN / DDL function creates
    incorrect DDL for the PRIMARY KEY when executed on a DB2 10
    New Function Mode / NFM or later subsystem when an INCLUDE
    column is added to an index that is for a primary key and the
    primary key was created prior to DB2 Version 7.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Object Comparison Tool      *
    *                 for z/OS who use the Generate (GEN) line     *
    *                 command to generate a table.                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: The GEN / DDL function creates          *
    *                      incorrect DDL for the PRIMARY KEY       *
    *                      when executed on a DB2 10 New           *
    *                      Function Mode (NFM) or later            *
    *                      subsystem when an INCLUDE column        *
    *                      is added to an index that is for        *
    *                      a primary key and the primary key       *
    *                      was created prior to DB2 R710.          *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Tables created prior to DB2 R710 with primary key and the
    related primary index contains an included column, the
    SYSTABCONST.COLCOUNT information is incorrect.
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM98432

  • 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

    2013-10-03

  • Closed date

    2013-11-27

  • Last modified date

    2013-12-02

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

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

    UI13008 UI13009 UI13010

Modules/Macros

  •    ADB2REM
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RA10 PSY UI13008

       UP13/11/30 P F311

  • RA20 PSY UI13009

       UP13/11/30 P F311

  • RB10 PSY UI13010

       UP13/11/30 P F311

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:
02 December 2013