IBM Support

PH34946: CM BATCH OPTION USE_DEFER_YES = 'Y' RESULTS IN UNNECESSARY REBUILD INDEX STATEMENT IN RUN JOB FOR NEW TABLE AND INDEX

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When CM Batch option USE_DEFER_YES is set to 'Y', a REBUILD
    INDEX statement is generated in the run job even when the
    table and index have only just been created in the same job.
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the Db2 Administration Tool         *
    *                 for zOS and Object Comparison                *
    *                 Tool for zOS who use CM batch                *
    *                 to create a new table with an                *
    *                 index                                        *
    ****************************************************************
    * PROBLEM DESCRIPTION: The work statement list (WSL)           *
    *                      created by Compare or                   *
    *                      CM batch when                           *
    *                      USE_DEFER_YES=Y                         *
    *                      includes a REBUILD INDEX                *
    *                      statement for an index                  *
    *                      created on a new                        *
    *                      table.                                  *
    ****************************************************************
    An index created for a new table should
    not be rebuilt even if USE_DEFER_YES=Y,
    as this is not necessary. Indexes created
    with DEFER YES should be rebuilt only if
    the table already exists.
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH34946

  • 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-03-02

  • Closed date

    2021-04-26

  • Last modified date

    2021-05-03

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

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

    UI75087

Modules/Macros

  • ADB2CMR
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RC10 PSY UI75087

       UP21/04/29 P F104

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 2021