IBM Support

PH66617: SUPPORT ACCELERATION OF HASH BUILT-IN FUNCTION

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as new function.

Error description

  • Support acceleration of HASH built-in function
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All Db2 13 for z/OS users who use            *
    *                 IBM Db2 Analytics Accelerator V7 or later.   *
    ****************************************************************
    * PROBLEM DESCRIPTION: Support Acceleration of HASH built-in   *
    *                      functions to IBM Db2 Analytics          *
    *                      Accelerator V7 or later.                *
    ****************************************************************
    The following built-in functions will be qualified for
    offloading to IBM Db2 Analytics Accelerator V7 or later.
       (1) HASH(expression, algorithm) in which algorithm could be
             0, 1, or 2. It will only be eligible for offload when
             algorithm is 2.
       (2) HASH_SHA256(expression).
    
    Before this support, query with above HASH built-in functions
    are not eligible for offload. When trying to be offloaded,
    SQLCODE -4742 with reason code 11 will be returned. With the
    support of this apar, query with above HASH built-in functions
    could be offloaded successfully to IBM Db2 Analytics
    Accelerator V7 or later.
    
    HASH_CRC32 is always not supported to be offloaded to IBM Db2
    Analytics Accelerator. When trying to offload query with
    function HASH_CRC32, before this apar SQLCODE -4742 with reason
    code 35 is returned. With this apar, SQLCODE -4742 with reason
    code 11 will be returned instead.
    
    Additional Keywords:
        IDAAV7R1/K IDAAV7R5/K IDAAV8R1/K
        SQLFUNCTION SQLBIF
        SQLCODE4742
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PH66617

  • Reported component name

    DB2 OS/390 & Z/

  • Reported component ID

    5740XYR00

  • Reported release

    D10

  • Status

    CLOSED UR1

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    YesSpecatt / New Function / Xsystem

  • Submitted date

    2025-05-20

  • Closed date

    2025-07-18

  • Last modified date

    2025-08-02

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

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

    UO04139

Modules/Macros

  • DSNXOBAS DSNXOBZA DSNXOBZB DSNXOEX1 DSNXONZA DSNXONZB DSNXOOS1
    DSNXORFN
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • RD10 PSY UO04139

       UP25/07/26 P F507  

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":"BU048","label":"IBM Software"},"Product":{"code":"SSEPEK","label":"DB2 for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"D10","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Document Information

Modified date:
02 August 2025