IBM Support

PI58121: DB2 ADMIN TOOL AFTER ALTER DATABASE, RUNSTATS UTILITY STATEMENT NOT GENERATED CORRECTLY

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • ALTER DATABASE to change database name. The WSL is created with
    correct statements to drop and recreate the database and the
    objects in it. But the Runstats utility statement was not
    generated correctly, it used the original database name instead
    of the new one. This problem only happens when a table space
    contains a MQT.
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the DB2 Administration Tool         *
    *                 for z/OS who use 'ALT Alter Database'        *
    *                 (ALT) function.                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: Program does not generate RUNSTATS      *
    *                      utility statements correctly when       *
    *                      performing an alter of a database       *
    *                      that contains a Materialized Query      *
    *                      Table (MQT).                            *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When altering a database to change the database name, the
    Work Statement List (WSL) is created with the correct
    statements to drop and recreate the database and the
    objects in it. However, the Runstats utility statement
    was not generated correctly.  It used the original database
    name instead of the new one.  This problem only happens
    when a table space contains a MQT.
    

Problem conclusion

  • Problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI58121

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-02-26

  • Closed date

    2016-05-16

  • Last modified date

    2016-06-02

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

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

    UI37885

Modules/Macros

  •    ADBGAJOB
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RB10 PSY UI37885

       UP16/05/19 P F605

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.

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSCVQTD","label":"IBM Db2 Administration Tool for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.1.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
02 June 2016