IBM Support

PH45652: OBJECT COMPARE - INCORRECT COLUMN ORDERING WHEN INSERTING AND DROPPING COLUMNS

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Object Compare tries to append the columns that are being added
    in the middle of the table. It tries to do this because the
    column being dropped is in the same position as the columns
    being added. Compare should maintain the column ordering and
    drop/create the table.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Db2 Administration Tool for z/OS    *
    *                 and Db2 Object Comparison Tool for z/OS      *
    *                                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: Incorrect column ordering results when  *
    *                      running a WSL that was generated by     *
    *                      Object Compare to drop and add columns  *
    *                      to a table.                             *
    ****************************************************************
    Comparing two tables might result in the wrong column ordering
    if the column that is dropped from the target table is in the
    same position as the first column that is added from the source
    table. In this instance, Object Compare generated ALTER
    statements to perform the operation.
    
    With this fix, Object Compare will now generate DROP and CREATE
    statements for the target table to ensure the correct column
    ordering.
    

Problem conclusion

  • The problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH45652

  • 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

    2022-04-13

  • Closed date

    2022-07-28

  • Last modified date

    2022-09-01

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

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

    UI81694 UI81701

Modules/Macros

  • ADB2CMT
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RC10 PSY UI81694

       UP22/08/02 P F208

  • RD10 PSY UI81701

       UP22/08/02 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":"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 September 2022