IBM Support

PI97240: CM BATCH COMPARE RUN JOB SQLCODE -612 / SQLCODEN612 DUPLICATE NAME ERROR ATTEMPTING TO RECREATE AN INDEX

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A CM Batch or Compare analyze job does not issue an error if a
    change attempts to add a column to an index that already
    includes that column.  When the job is run to recreate the
    index, the following error may result:
    sqlerror on CREATE     command, EXECUTE    function
     DSNT408I SQLCODE = -612, ERROR:  column_name IS A DUPLICATE
    NAME
     DSNT418I SQLSTATE   = 42711 SQLSTATE RETURN CODE
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Administration Tool or      *
    *                 DB2 Object Comparison Tool for z/OS.         *
    ****************************************************************
    * PROBLEM DESCRIPTION: Applying a change which adds a          *
    *                      duplicate column to an existing         *
    *                      index may result in SQLCODE -661 /      *
    *                      SQLCODEN661.                            *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The analyze phase of Change Management or Object
    Compare does not validate the change statements when
    adding a duplicate column to an existing index. Applying
    the change and recreating the index may therefore result
    in the following error:
    
    sqlerror on CREATE command, EXECUTE function
    DSNT408I SQLCODE = -612, ERROR: column_name IS A DUPLICATE NAME
    DSNT418I SQLSTATE = 42711 SQLSTATE RETURN CODE
    

Problem conclusion

  • Problem has been resolved.,
    
    The following error message ADB8064E will be
    displayed during the analyze phase if an attempt is made
    to add a duplicate column to an index:
    
    ADB8064E The column_name column to be added to the index_name
    index is already an index column.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI97240

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-04-25

  • Closed date

    2018-07-09

  • Last modified date

    2018-08-02

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

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

    UI57126 UI57127

Modules/Macros

  •    ADBCCMM
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RB20 PSY UI57126

       UP18/07/13 P F807

  • RC10 PSY UI57127

       UP18/07/13 P F807

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

Document Information

Modified date:
02 August 2018