IBM Support

PH64058: GEN FAILS WITH SQLCODE = -304 WHEN CATALOG STATS ARE GENERATED

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • GEN with 'Generate catalog stats' option fails with SQLCODE =
    -304 if SYSINDEXSPACESTATS or SYSTABLESPACESTATS tables have
    values in BIGINT columns (changed from INTEGER in Db2 V13) that
    are out of range for INTEGER type.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Db2 Administration Tool for z/OS    *
    ****************************************************************
    * PROBLEM DESCRIPTION: GEN with the 'Generate catalog stats'   *
    *                      option fails with SQLCODE = -304.       *
    ****************************************************************
    As part of the V13R1M501 Db2 catalog change, some columns in
    tables SYSINDEXSPACESTATS and SYSTABLESPACESTATS increased
    in size. GEN fails while generating catalog statistics for
    table spaces or indexes if statistics tables have values that
    are out of range for their old column types.
    

Problem conclusion

  • The problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH64058

  • Reported component name

    DB2 ADMIN TOOL

  • Reported component ID

    568851500

  • Reported release

    D10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2024-11-08

  • Closed date

    2025-02-18

  • Last modified date

    2025-03-04

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

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

    UO02125

Modules/Macros

  • ADB2RES
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RD10 PSY UO02125

       UP25/02/20 P F502

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":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSZJXP","label":"DB2 Tools for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"D10","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
04 March 2025