IBM Support

PH41150: REORG WITH ALTER TABLE ADD COLUMN SHOULD BE GENERATED WITHOUT PROFILE STATS

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When Profile Stats is enabled, ALTER TABLE ADD COLUMN's Reorg
    should not have USE PROFILE as in this case it is not valid.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of the Db2 Administration Tool for     *
    *                 z/OS Change Management (CM) batch function.  *
    ****************************************************************
    * PROBLEM DESCRIPTION: When the CM batch parameter             *
    *                      UTIL_REORG_STATISTICS_USE_PROFILE is    *
    *                      set to 'Y' and a column with profile    *
    *                      statistics is dropped by using an ALTER *
    *                      operation, the generated REORG          *
    *                      statement still contains USE PROFILE    *
    *                      even though it is not valid.            *
    ****************************************************************
    When UTIL_REORG_STATISTICS_USE_PROFILE is set to 'Y' and a
    column with profile statistics is dropped by using an ALTER
    operation, the resulting REORG statement contains USE PROFILE,
    which causes the WSL to fail. Because the column associated with
    the profile is dropped, the USE PROFILE option is not valid.
    Dropping the column with the profile statistics automatically
    drops the column from the profile and updates it. Db2 Admin Tool
    should not include USE PROFILE in the REORG statement even if
    UTIL_REORG_STATISTICS_USE_PROFILE is set to 'Y' as it is not
    valid in this case.
    

Problem conclusion

  • The problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH41150

  • 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-10-06

  • Closed date

    2022-01-20

  • Last modified date

    2022-02-01

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

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

    UI78998

Modules/Macros

  • ADB2CMT  ADBGAJOB
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RC10 PSY UI78998

       UP22/01/25 P F201

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:
02 February 2022