IBM Support

PH65276: OBJECT COMPARE TOOL GENERATES INVALID ALTER STATEMENT ON HISTORY TABLE

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Object Compare tool generates invalid Alter Statement on history
    table after change to base table is generated.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Db2 Administration Tool for z/OS    *
    *                 who use Db2 Object Comparison Tool           *
    ****************************************************************
    * PROBLEM DESCRIPTION: When using Db2 Object Comparison Tool   *
    *                      to add columns with NOT NULL and        *
    *                      no DEFAULT to a temporal and            *
    *                      history table, an erroneous ALTER TABLE *
    *                      statement is generated for the history  *
    *                      table.                                  *
    ****************************************************************
    When adding new columns with NOT NULL and no DEFAULT to temporal
    and history tables, the following erroneous ALTER TABLE
    statement is generated:
    
    ALTER TABLE <history table>
    COMMIT;
    
    This statement causes the run job to fail.
    

Problem conclusion

  • The problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH65276

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    D10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2025-02-13

  • Closed date

    2025-05-09

  • Last modified date

    2025-05-14

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

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

    UO03141

Modules/Macros

  • ADB2CMT
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RD10 PSY UO03145

       UP25/05/14 I 1000

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":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSZJXP","label":"DB2 Tools for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"D10","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
14 May 2025