IBM Support

IT18507: DB2 CAN RETURN WRONG RESULTS WHEN USING THE SPECIAL REGISTER 'CURRENT DECFLOAT ROUNDING MODE' IN A QUERY IN AN MPP ENVIRONMENT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • Wrong results can be returned as shown:
    
    create table t1 (c1 int, c2 varchar(128)) organize by row
    distribute by (c1);
    insert into t1 values
    (1,'ROUND_HALF_EVEN'),(2,'ROUN'),(3,'ROUN'),(4,'ROUN'),(5,'ROUN'
    ),(6,'ROUND_HALF_EVEN'),(7,'ROUND_HALF_EVEN'),(8,'ROUN'),(9,'ROU
    N');
    
    
    In MPP(4 nodes) :
     select * from t1 where CURRENT DECFLOAT ROUNDING MODE = t1.c2
    
    C1          C2
    
    -----------
    ----------------------------------------------------------------
    ----------------------------------------------------------------
    
      0 record(s) selected.
    
    We expect this query to return 3 records.
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description. Install release and fixpak that has   *
    * this fix.                                                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Install release and fixpak that has this fix.                *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IT18507

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    YesHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-12-20

  • Closed date

    2017-05-30

  • Last modified date

    2017-05-30

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

    IT18500

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

Fix information

Applicable component levels

  • R970 PSN

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.7","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
30 May 2017