IBM Support

PH33844: INCORRECT SIZE ESTIMATE WHEN RANGE OF PARTITION AND SELECT SELECT WITH ORDER CLAUSE CAN LEAD TO INZX068

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The estimated number of records of a table to be
    unloaded is underestimated which can lead to a failure of the
    sorts launched by Db2 HPU and subsequent ABENDU1009 reported by
    a Db2 HPU messages as follows:
    INZX068 Snnnnnnnnn SORT FAILED, RC=16 (SORT CAPACITY EXCEEDED).
    INZZ001S(0001): ABEND IN INZSTI01 - CODE=S000 U1009
    REASON=00000000
    This can occur if the following conditions are fulfilled:
    - the UNLOAD statement contains several SELECT statements
    involving the same table and specifying an ORDER clause
    - the tablespace containing this common table is partitioned
    - only a limited set of the partitions of this tablespace is to
    be unloaded (as specified by a PART/SQLPART clause or through
    the OPTIMIZE_PART_RANGE feature if WHERE clauses are specified)
    The wrong estimate is actually the size that would be relevant
    for one of the partitions of the list of partitions to be
    unloaded.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Db2 High Performance Unload         *
    *                 for z/OS                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: The number of records of a table to be  *
    *                      unloaded is underestimated which can    *
    *                      lead to a failure of the sorts launched *
    *                      by Db2 HPU and subsequent ABENDU1009    *
    *                      reported by a Db2 HPU  messages as      *
    *                      follows:                                *
    *                      INZX068 Snnnnnnnnn  SORT FAILED, RC=16  *
    *                      (SORT CAPACITY EXCEEDED).               *
    ****************************************************************
    * RECOMMENDATION: Apply the PTF                                *
    ****************************************************************
    Incorrect size estimate when range of partition and select
    SELECT with ORDER clause can lead to INZX068.
    

Problem conclusion

  • Code has been changed to fix this problem
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH33844

  • Reported component name

    DB2 HI PERF UNL

  • Reported component ID

    5697F4400

  • Reported release

    510

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-01-27

  • Closed date

    2021-03-23

  • Last modified date

    2021-04-02

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

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

Modules/Macros

  • INZCHECK INZCRX10 INZCRXSM INZCRXSQ INZTPMEM INZUTILK
    

Fix information

  • Fixed component name

    DB2 HI PERF UNL

  • Fixed component ID

    5697F4400

Applicable component levels

  • R510 PSY UI74571

       UP21/03/30 P F103

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":"5.1.0"}]

Document Information

Modified date:
03 April 2021