IBM Support

IT01823: STDDEV, VAR AND VARIANCE WITH INTEGER INPUT RETURN WRONG DATA TYPE WHEN NUMBER SUPPORT IS ENABLED

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • On a database with NUMBER support enabled, the statistical
    functions STDDEV, VAR and VARIANCE with integer input (i.e.
    SMALLINT, INTEGER or BIGINT) return data type DOUBLE instead of
    the expected DECFLOAT.
    

Local fix

  • Cast the integer argument to DECFLOAT
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 version 9.7 fix pack 10                       *
    ****************************************************************
    

Problem conclusion

  • First fixed in DB2 version 9.7 fix pack 10
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT01823

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-05-15

  • Closed date

    2014-11-12

  • Last modified date

    2014-11-12

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

    IT01583

  • 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

  • R970 PSN

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IT01823

Modified date: 12 November 2014