IBM Support

PH30198: AOC: NO INDEX REBUILD IS GENERATED IN THE WORKLIST WHEN AN PRIMARY INDEX IS CREATED WITH DEFER YES

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Db2 Object Compare: No index rebuild is generated in the
    worklist when a primary key and corresponding primary index
    are added to an existing table with DEFER YES specified
    
    When it is a primary index and the associated primary key is
    defined on the same change the corresponding REBUILD index is
    not included in the work-list.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the Db2 Object Comparison Tool for  *
    *                 z/OS who create indexes and add primary keys *
    *                 or comment on the table in the same change.  *
    ****************************************************************
    * PROBLEM DESCRIPTION: An index is left in REBUILD-pending     *
    *                      (RBDP) state after running a comparison *
    *                      even though the Run REORG/REBUILD       *
    *                      option was set to A.                    *
    ****************************************************************
    Running a comparison that generates CREATE INDEX with DEFER YES,
    will cause the index to go into REBUILD-pending (RDBP) if the
    table has data. When the change
    also does an ALTER ADD PRIMARY KEY or COMMENT ON TABLE, the
    required REBUILD INDEX is not generated in the WSL. This occurs
    even when the Run REORG/REBUILD option is set to A.
    The missing REBUILD INDEX operation leaves the index in a
    REBUILD-pending state.
    

Problem conclusion

  • The problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH30198

  • 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

    2020-10-06

  • Closed date

    2021-01-07

  • Last modified date

    2021-02-01

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

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

    UI73389

Modules/Macros

  • ADB2CMT
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RC10 PSY UI73389

       UP21/02/01 P F101

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":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSCVQTD","label":"IBM Db2 Administration Tool for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"12.1.0"}]

Document Information

Modified date:
12 February 2021