IBM Support

PH08710: INCORRECT RESULT FOR SPECIFIC CALCULATION WITH ROUND FUNCTION (ORACLE DATASOURCE)

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as unreproducible.

Error description

  • The customer defined the round function on data items directly.
    When the customer run the report, those results were different.
    
    For example, they set data items in the same query on Report
    Authoring like below.
    *************************
    Item1 = "3530"
    Item2 = "800"
    Item3 = "round([Item1]/[Item2]*100,1)"
    Item4 = "round([Item1]/[Item2]*10,2)"
    *************************
    
    The result of Item3 was "441.2" and one of Item4 was "44.13."
    The result of Item3 was half-down and incorrect.
    *In the case of the calculation "3370/800=4.2125," each result
    become such as  "421.3" and "42.13."
    

Local fix

  • cast to "decimal."
    e.g.) round(cast([Item1]/[Item2], decimal(10,5))*100,1)
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All Users                                                    *
    *                                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    *                                                              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to IBM Cognos Analytics 11.1.2                       *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PH08710

  • Reported component name

    COG CONNECTION

  • Reported component ID

    5724W12CC

  • Reported release

    B0A

  • Status

    CLOSED UR5

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-02-19

  • Closed date

    2019-06-04

  • Last modified date

    2019-06-04

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

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

Fix information

Applicable component levels



Document information

More support for: Cognos Analytics
Portal v11x

Software version: B0A

Reference #: PH08710

Modified date: 04 June 2019