IBM Support

IT29415: SCALAR FUNCTION HASH8 MAY RETURN DIFFERENT RESULTS FOR THE SAME INPUT ON POWER(TM) LITTLE ENDIAN SYSTEMS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Scalar function HASH8 may return different results for the same
    input on POWER(TM) little endian systems.
    
    When the input to the HASH8 function is not an integral multiple
    of 4 bytes long, repeated invocations of the function for the
    same input may produce different output hash values.
    
    This affects Db2 running on POWER(TM) little endian Linux
    systems
    only.
    
    e.g.
    
      $ db2 "select v,hash8(v) hashvalue from hash8_test"
    
      V                 HASHVALUE
      ----------------- --------------------
      2T2GK31U09C059690 -8079510515070948960
      YV440MDK2G2809791 -3052657120253964598
    
        2 record(s) selected.
    
      $ db2 "select v,hash8(v) hashvalue from hash8_test"
    
      V                 HASHVALUE
      ----------------- --------------------
      2T2GK31U09C059690 -7493176833262375329
      YV440MDK2G2809791  3488698275826922457
    
        2 record(s) selected.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to Db2 11.1 Mod 4 Fixpack 5 or higher                *
    ****************************************************************
    

Problem conclusion

  • First fixed in Db2 11.1 Mod 4 Fixpack 5
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT29415

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    YesHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-06-11

  • Closed date

    2020-01-16

  • Last modified date

    2020-01-16

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

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

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"DB2 for Linux- UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.1","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
03 May 2022