IBM Support

PM65372: RENAME A TABLE THEN DELETE A PRIMARY KEY COLUMN, RECEIVES -205 ERROR IN CREATE INDEX STMT RUNNING CHANGES JOB.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Rename a table then delete a primary key column,
    receives -205 error in create index stmt running changes job.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Administration Tool for     *
    *                 z/OS who use the Alter Table (ALT) function  *
    *                 with Change Management.                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: When using the Alter Table (ALT)        *
    *                      function with Change Management to      *
    *                      rename a table, immediately followed    *
    *                      by the 'DP' line command to delete a    *
    *                      primary key column, and finally         *
    *                      issuing the 'REL - Related' primary     *
    *                      command on panel ADB27C 'Alter Table'   *
    *                      to alter the related index, the         *
    *                      CREATE INDEX statement issues a         *
    *                      SQLCODE=-205 / SQLCODEN205              *
    *                      error:                                  *
    *                                                              *
    *                      DSNT408I SQLCODE = -205, ERROR:         *
    *                      column-name IS NOT A COLUMN OF          *
    *                      TABLE table-name                        *
    *                      DSNT418I SQLSTATE   =  42703            *
    *                      SQLSTATE RETURN CODE                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When using the Alter Table (ALT) function with Change
    Management to rename a table, immediately followed by the 'DP'
    line command to delete a primary key column, and finally
    issuing the 'REL - Related' primary command on panel ADB27C
    'Alter Table' to alter the related index, the CREATE INDEX
    statement issues a SQLCODE=-205 / SQLCODEN205 error:
    
    DSNT408I SQLCODE = -205, ERROR:
    column-name IS NOT A COLUMN OF TABLE table-name
    DSNT418I SQLSTATE   =  42703 SQLSTATE RETURN CODE
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM65372

  • 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

    2012-05-23

  • Closed date

    2012-08-10

  • Last modified date

    2012-09-05

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

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

    UK81010

Modules/Macros

  •    ADB2WVL  ADB21XAR
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RA10 PSY UK81010

       UP12/08/15 P F208

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:
05 September 2012