IBM Support

PI99046: REPAIR CATALOG DOES NOT ACCURATELY VALIDATE TYPE COMPARISONS

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • During REPAIR CATALOG, a subroutine is called to check and
    validate the schema as described by system pages. Data type
    compatibility checking was found to be inconsistent with
    documented compatibility rules for ALTER TABLE.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Db2 z/OS users that alter tables.            *
    ****************************************************************
    * PROBLEM DESCRIPTION: REPAIR CATALOG utility reports a        *
    *                      dsnu6671 and rc = 8 message             *
    *                      indicating comparison between the       *
    *                      schema in the catalog and page set      *
    *                      where found to be incompatible.         *
    *                      But the schemas where compatible.       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When REPAIR CATALOG is run on a table space, it validates
    the schema as described by system pages with OBDREC in EDM
    pool. During Data type compatibility checking, an
    incompatibility can be detected for decimal or integer data
    type by mistake. The current logic does not comply with
    documented compatibility rules for ALTER TABLE. For example,
    Alter of a column from DECIMAL(19,0) to BIGINT is allowed
    by ALTER DML but REPAIR failed to recognize this.
    

Problem conclusion

  • Code that validates schema compatibility has been fixed
    to reflect the rules outlined by the ALTER TABLE.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI99046

  • Reported component name

    DB2 OS/390 & Z/

  • Reported component ID

    5740XYR00

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-06-11

  • Closed date

    2018-08-23

  • 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:

    UI58048 UI58051

Modules/Macros

  •    DSNIPPHO DSNISCHV
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • RB10 PSY UI58051

       UP18/09/07 P F809

  • RC10 PSY UI58048

       UP18/09/07 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.



Document information

More support for: DB2 for z/OS

Software version: 11.0

Reference #: PI99046

Modified date: 02 October 2018


Translate this page: