IBM Support

PH47258: OBJECT COMPARE ATTEMPTS TO EXPLICITLY CREATE AN IMPLICITLY CREATED AUX 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 generates DDL for a table that is
    implicitly being created.
    
    For example when the values of the CURRENT RULES special
    register is 'STD' and a base table is created with LOB columns
    or altered such that LOB columns are added, Db2 automatically
    creates the LOB table space, auxiliary table, and index on the
    auxiliary table for each LOB column.
    
    -----
    
    This causes failures when Object Compare then attempts to create
    the AUX table explicitly.
    

Local fix

  • na
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Db2 Administration Tool for z/OS    *
    *                 who add LOB columns and AUX tables           *
    ****************************************************************
    * PROBLEM DESCRIPTION: When adding a LOB column and explicit   *
    *                      AUX tables by using                     *
    *                      compare, the resulting WSL has          *
    *                      SET CURRENT RULES = 'STD', which        *
    *                      causes SQLCODE -768 when the WSL is     *
    *                      run.                                    *
    ****************************************************************
    When using compare to add a LOB column and explicit AUX tables,
    SET CURRENT RULES = 'STD' is generated before altering the
    column. This specification causes the AUX tables to be
    implicitly created, which results in SQLCODE -768 when running
    the statements to create the AUX tables explicitly.
    

Problem conclusion

  • The problem has been resolved.
    Search Keywords: SQLCODE768N
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH47258

  • 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-06-16

  • Closed date

    2022-11-16

  • Last modified date

    2022-12-01

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

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

    UI82696 UI82697

Modules/Macros

  • ADB2CMT
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RC10 PSY UI82696

       UP22/12/01 P F211

  • RD10 PSY UI82697

       UP22/12/01 P F211

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 December 2022