IBM Support

PM80649: WHEN ALT TEMPORAL TABLE TO ALTER COLUMN, ALTER TABLE ADD VERSIONING STATEMENT IS GENERATED IN WRONG POSITION.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When ALT temporal table to alter column, ALTER TABLE ADD
    VERSIONING statement is generated in WRONG position in CHANGES
    file, which causes SQLCODE -20523.
    SYMPTOM: SQLCODEN20523
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Administration Tool for     *
    *                 z/OS who have temporal/history table with    *
    *                 partitioned tablespaces.                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: When DB2 Object Compare compares two    *
    *                      temporal tables, ALTER statemens for    *
    *                      the history table may be generated      *
    *                      before ALTER statements for the         *
    *                      temporal table.  When applying the      *
    *                      change, the user will receive error     *
    *                      message SQLCODE=-20180 /                *
    *                      SQLCODEN20180:                          *
    *                                                              *
    *                      DSNT408I SQLCODE = -20180,              *
    *                      ERROR:                                  *
    *                      COLUMN >colnamer< IN TABLE              *
    *                      >schema.tablename< CAN NOT BE           *
    *                      ALTERED AS SPECIFIED                    *
    *                      DSNT408I SQLSTATE   = 428FR             *
    *                      SQLSTATE RETURN CODE                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When DB2 Object Compare compares two temporal tables, the
    ALTER statements for the history table may be generated
    before the ALTER statements for the temporal table. When
    applying the changes, it will cause a run time error.
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM80649

  • 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-01-15

  • Closed date

    2013-02-22

  • Last modified date

    2013-03-04

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

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

Modules/Macros

  •    ADB2CMP  ADB2CMT
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RA10 PSY UK91906

       UP13/02/26 P F302

  • RA20 PSY UK91907

       UP13/02/26 P F302

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:
04 March 2013