IBM Support

PH63014: COMPARE FAILS TO GENERATE DROP AND RECREATE TRIGGER STATEMENTS IN WSL WHEN DROPPING COLUMNS ON A TABLE

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When generating a WSL in Object Compare, triggers that are not
    present in the source fail to be dropped and recreated when
    dropping columns of its table. This leads to SQLCODE = -196 as
    the dropping of the columns cannot happen with the triggers
    still being defined. Object Compare should properly generate the
    drop and recreate trigger statements when generating a WSL to
    allow for the drop columns to complete.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of Db2 Administration Tool for z/OS                    *
    * and Db2 Object Comparison Tool for z/OS                      *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Object Compare fails to recreate                             *
    * triggers when dropping columns from the                      *
    * referenced table.                                            *
    ****************************************************************
    If the triggers referencing a table are not in the source and
    that table has had columns dropped, compare fails to
    recreate the trigger. The columns cannot be dropped
    until the triggers are dropped.
    

Problem conclusion

  • The problem has been resolved. Object Compare will recreate the
    relevant triggers to allow for the table columns to be dropped.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH63014

  • 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

    2024-08-29

  • Closed date

    2024-11-25

  • Last modified date

    2024-12-03

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

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

    UI99190

Modules/Macros

  • ADB2CMF  ADB2CMR
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RD10 PSY UI99190

       UP24/12/03 P F411

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:
03 December 2024