IBM Support

PM85263: FLOOR FUNCTION(COGNOS SQL) RETURNS INCORRECT VALUE ON CQM

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • Floor function returns incorrect value. This issue occurs:   -
    when the floor function is used on Cognos SQL   - when using CQM
    This issue doesn't occur:    - when the function is used as
    Native SQL    - when using DQM
    

Local fix

  • 1 use DQM
    2 use the following expression instead of using floor function
    If ([value] < 0 and [value] - cast([value] as decimal(25)) <> 0
     )
    then (cast([value] as decimal(25)) -1 )
    else (cast([value] as decimal(25)) )
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All Users                                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See error description.                                       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to IBM Cognos Business Intelligence 10.2 Refresh     *
    * Pack 1                                                       *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PM85263

  • Reported component name

    COG REPORT STUD

  • Reported component ID

    5724W12RS

  • Reported release

    A20

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-03-20

  • Closed date

    2013-06-11

  • Last modified date

    2013-06-11

  • 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

  • RA21 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCHNWW","label":"Report Authoring v11x"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"A20","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
11 June 2013