Skip to Content
author's profile photo Former Member
Former Member

Arithemetic or Numeric Overflow error in Webi report

Hi,

I have the error "[IBM][CLI Driver][DB2/LINUXX8664] SQL0802N Arithmetic overflow or other arithmetic exception occurred." while generate the webi report. The object type in DB is INT. Since i am getting the above error, i am converting the data type in universe object as DECIMAL or BIGINT.

CAST (SUM(DB2ADMIN.IS_PRT_SALES.CNT) AS DECIMAL) - "IT parsing OK in universe.

But when generate the report using the same object in webi, I am getting the same arithmetic overflow error.

Can anyone plz help?

Is that not sufficient updating data type only in Universe object level?

Thanks,

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Dec 27, 2013 at 06:24 PM

    Try the other way round.. First Cast it as Decimal and then sum..

    SUM(CAST (DB2ADMIN.IS_PRT_SALES.CNT) AS DECIMAL))

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Rakesh,

      No, I tried the other way. But still i am having the same error "" "[IBM][CLI Driver][DB2/LINUXX8664] SQL0802N Arithmetic overflow or other arithmetic exception occurred.""

      SELECT

      SUM(CAST (DB2ADMIN.IS_PRT_SALES.CNT AS DECIMAL))

      FROM

      DB2ADMIN.IS_PRT_SALES.

      anyother suggestions plz?

  • Posted on Dec 30, 2013 at 01:06 PM

    Hi Raj,

    I guess, the value you are getting is unable to be contained by the integer type you are converting.. So, please check the appropriate integer type in DB2 to hold the value in that variable.

    Hope this helps..!!!

    Thanks,

    Bala

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.