IBM Support

PM74330: NUMERIC OVERFLOW OCCURRED DURING COMPUTATION ERROR USING _ROUND WITH TERADATA ON LARGE NUMBER

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • Using the _round function against Teradata on a large number
    will fail with a "Numeric overflow occurred during computation"
    error.
    

Local fix

  • modify the cogdmod_td.ini file
    (location in the Cognos bin folder)...
    N _round(%1n, %2n)=CASE WHEN (%1) < 0 THEN (CAST( ( (%1) * ( 10
    **
    (%2) ) - 0.5 ) AS INTEGER ) / ( 10 ** (%2) )) ELSE (CAST( ( (%1)
     * (
    10 ** (%2) ) + 0.5 ) AS INTEGER ) / ( 10 ** (%2) )) END;
    .
    to
    .
    N _round(%1n, %2n)=CASE WHEN (%1) < 0 THEN (CAST( ( (%1) * ( 10
    **
    (%2) ) - 0.5 ) AS BIGINT ) / ( 10 ** (%2) )) ELSE (CAST( ( (%1)
    * ( 10
     ** (%2) ) + 0.5 ) AS BIGINT ) / ( 10 ** (%2) )) END;
    .
    Also another spot just below that to ...
    N round(%1n, %2n)=CASE WHEN (%1) < 0 THEN (CAST( ( (%1) * ( 10 *
    * (%2)
     ) - 0.5 ) AS BIGINT ) / ( 10 ** (%2) )) ELSE (CAST( ( (%1) * (
    10 **
    (%2) ) + 0.5 ) AS BIGINT ) / ( 10 ** (%2) )) END;
    .
    This needs to be done on FM and Dispatcher installs.
    

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

    PM74330

  • Reported component name

    COG REPORT STUD

  • Reported component ID

    5724W12RS

  • Reported release

    A11

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-10-04

  • 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":"A11","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
11 June 2013