IBM Support

PH42024: OBJECT COMPARE MAY ATTEMPT TO ADD SECOND TABLE TO UNIVERSAL TABLE SPACE (UTS)

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When the result of a Compare is that a source table will be
    "added," there is no check to see if the parent table space
    is a UTS, or if it already has a table in it.  If the parent
    table space is a UTS and already contains a table, Compare will
    pass, and generate a CREATE TABLE statement that will fail.
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Db2 Administration Tool for z/OS    *
    *                 and Db2 Object Comparison Tool for z/OS      *
    ****************************************************************
    Compare might generate a work statement list (WSL) that creates
    a table in a table space that already contains a table. If that
    table space is a UTS, the CREATE statement fails.
    
    Running the WSL results in the following Db2 error:
    
    DSNT408I SQLCODE = -646, ERROR: TABLE >table_name<
    CANNOT BE CREATED IN OR MOVED TO SPECIFIED TABLE SPACE
    >tablespace_name< BECAUSE IT ALREADY CONTAINS A TABLE.
    
    If compare can determine that this situation will occur, it
    issues message ADB7394 and terminates.  If compare cannot
    determine that this situation will occur but it is a
    possibility, warning message ADB7395 is issued.
    
    Keywords: SQLCODE646N MSGADB7394E MSGADB7395W
    

Problem conclusion

  • The problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH42024

  • 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

    2021-11-11

  • Closed date

    2022-04-15

  • Last modified date

    2022-05-03

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

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

    UI80174

Modules/Macros

  • ADB2CM3  ADB2CME  ADB2CMF  ADB2CMO  ADB2CMP  ADB2CMR  ADB2CMT
    ADB2CMU  ADB7000
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RC10 PSY UI80174

       UP22/04/19 P F204

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.

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

Document Information

Modified date:
04 May 2022