IBM Support

PH00193: CM BATCH OBJECT COMPARE GENERATES CHECK DATA WSL FOR ALTER TABLE ADD FOREIGN KEY NOT ENFORCED

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • CM Batch or Object Compare Analyze generates CHECK DATA in a
    WSL on an ALTER TABLE ... FOREIGN KEY statement which includes
    the NOT ENFORCED option.  The CHECK DATA should not be
    generated if NOT ENFORCED is specified.
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of DB2 Object Comparison Tool for      *
    *                 z/OS who use Change Management batch         *
    *                 function.                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION: CHECK DATA is not needed when           *
    *                      a foreign key is added with             *
    *                      NOT ENFORCED option.                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The CHECK DATA online utility checks tablespaces for
    violations of referential constraints. With the current
    Object Compare, when a foreign key is added, check data
    is always generated. If NOT ENFORCED option is specified,
    then CHECK DATA is not needed.
    
    Object Compare will not generate CHECK DATA when NOT
    ENFORCED clause is in ALTER TABLE ..FOREIGN KEY.
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH00193

  • 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

    2018-07-05

  • Closed date

    2018-08-27

  • Last modified date

    2018-10-02

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

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

    UI58111 UI58112

Modules/Macros

  •    ADB2CM3
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RB20 PSY UI58111

       UP18/09/08 P F809

  • RC10 PSY UI58112

       UP18/09/08 P F809

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:
30 March 2021