IBM Support

PH38494: DB2 UTILITY STATEMENT INCLUDES UNNECESSARY DEFAULT SORTNUM KEYWORD

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When a change such as ALTER TABLESPACE >dbname.tsname<
    DSSIZE 8G is created via ALT, with ADVISORYAUTOREORG='YES',
    the following REORG statement is generated:
    
    DSNU050I 158 15:54:05.51 DSNUGUTC - REORG TABLESPACE LIST
    ADBREORG
    SHRLEVEL REFERENCE SCOPE PENDING UNLDDN
    ADBREORG COPYDDN ADBCOPY PUNCHDDN ADBPUNCH DISCARDDN ADBDISC
    SORTDEVT
    SYSALLDA SORTNUM 5
    
    Howerver, the SORTNUM keyword was not specified by the
    user, and is not necessary. The Db2 utility determines the
    best SORTNUM value.
    
    This APAR removes the default SORTNUM specification for all
    Db2 utility statements.
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Db2 Administration Tool for z/OS    *
    ****************************************************************
    * PROBLEM DESCRIPTION: A Db2 utility statement includes the    *
    *                      SORTNUM option even though the user did *
    *                      not specify it. In this case, SORTNUM   *
    *                      should not be added, so that Db2        *
    *                      utility processing can determine the    *
    *                      best SORTNUM value.                     *
    ****************************************************************
    When using ALT to change DSSIZE, the generated JCL includes a
    REORG TABLESPACE statement with the SORTNUM option, even though
    the user did not request that SORTNUM be specified.  Because Db2
    utilities have algorithms to decide the best SORTNUM value,
    SORTNUM should be generated only if the user requested it.
    This APAR removes the default SORTNUM specification for all
    Db2 utility statements.
    

Problem conclusion

  • The problem has been resolved.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH38494

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

  • Closed date

    2021-09-17

  • Last modified date

    2021-10-01

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

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

    UI77210

Modules/Macros

  • ADB21SAL ADB21SAU ADB25LU  ADB28MC  ADB28MCT ADB28USK ADB2US
    ADB2USOP ADB2USOW ADB2UT   ADB2UTLX ADB2UX   ADBCCM   ADBIREO
    ADBTCHK  ADBTEP2  ADBTREL  ADBTREO
    

Fix information

  • Fixed component name

    DB2 ADMIN TOOL

  • Fixed component ID

    568851500

Applicable component levels

  • RC10 PSY UI77210

       UP21/09/21 P F109

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 October 2021