IBM Support

PH41049: ABENDU1009 and CNK046E if DB2SORT used to honor the SORT(EXTERNAL request for a logical unload run in SQL mode

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • (HPU 5.1 only) A logical unload ends in ABENDU1009 occurs after
    DB2SORT has terminated in error reported through the message
    CNK046E SORT CAPACITY EXCEEDED.
    
    This occurs when the following conditions are fulfilled:
    - the logical unload is run in SQL mode
    - the logical unload specifies an ORDER clause and the
    SORT(EXTERNAL[,nnn])
    DB2SORT is the selected sort program (through the SORTUTIL
    DB2SORT option if any, or through the setting of the
    VUX037/SORTUTIL parmlib parameter to DB2SORT)
    - the amount of data to sort is big (more accurately it exceeds
    the default or overriden sort capacity settings of Db2 SORT)
    

Local fix

  • override the Db2 SORT settings to allocate more work space -
    e.g. by specifying DYNALLOC=(,nnn) in the DB2SORTI dataset - or
    change the unload statement so that the sort is run by DB2 by
    removing the SORT(EXTERNAL[,nnn]) option.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Db2 High Performance Unload         *
    *                 for z/OS                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: A logical unload ends in ABENDU1009     *
    *                      occurs after DB2SORT has terminated in  *
    *                      error reported through the message      *
    *                      CNK046E SORT CAPACITY EXCEEDED.         *
    *                                                              *
    *                      This occurs when the following          *
    *                      conditions are fulfilled:               *
    *                      - the logical unload is run in SQL mode *
    *                      - the logical unload specifies an ORDER *
    *                      clause and the SORT(EXTERNAL[,nnn])     *
    *                      - DB2SORT is the selected sort program  *
    *                      (through the SORTUTIL DB2SORT option if *
    *                      any, or through the setting of the      *
    *                      VUX037/SORTUTIL parmlib parameter to    *
    *                      DB2SORT)                                *
    *                      - the amount of data to sort is big     *
    *                      (more accurately it exceeds the default *
    *                      or overridden sort capacity settings of *
    *                      Db2 SORT)                               *
    ****************************************************************
    * RECOMMENDATION: Apply the PTF                                *
    ****************************************************************
    ABENDU1009 and CNK046E if DB2SORT used to honor the
    SORT(EXTERNAL request for a logical unload run in SQL mode
    

Problem conclusion

  • Code has been changed to fix this problem
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH41049

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

  • Closed date

    2021-11-10

  • Last modified date

    2021-12-01

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

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

    UI78016

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 UI78016

       UP21/11/20 P F111

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:
02 December 2021