IBM Support

PH54692: SQLCODE = -750 WHEN ADDING A TABLE COLUMN AND RENAMING A TABLE COLUMN REFERENCED BY A VIEW

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If there is a view with correlated column names and a new column
    is added to the referenced table while also renaming a column
    from the same table, the order of change statements are
    incorrect. For the table, the adding of the new column and
    renaming of an existing column happens before the dropping of
    the view which results in the SQLCODE = -750. The DROP VIEW
    statement should happen first.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Db2 Administration Tool and         *
    *                 Db2 Object Comparison Tool                   *
    ****************************************************************
    * PROBLEM DESCRIPTION: SQLCODE = -750 is returned when         *
    *                      renaming and adding a column to a table *
    *                      with a view.                            *
    ****************************************************************
    When using either Object Compare or ALT and renaming and adding
    a column to a table referenced by a view with correlated column
    names, the change statements are out of order. The ALTER TABLE
    statements execute first before the DROP VIEW statements, which
    results in SQLCODE = -750.
    

Problem conclusion

  • The problem has been resolved.
    The DROP VIEW statements will properly execute first before
    the ALTER TABLE statements.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH54692

  • 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

    2023-05-23

  • Closed date

    2023-07-24

  • Last modified date

    2023-08-01

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

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

    UI92875 UI92876

Modules/Macros

  • ADB2CM3  ADB2CMP
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RC10 PSY UI92875

       UP23/07/27 P F307

  • RD10 PSY UI92876

       UP23/07/27 P F307

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

Document Information

Modified date:
01 August 2023