cancel
Showing results for 
Search instead for 
Did you mean: 

Arithemetic or Numeric Overflow error in Webi report

Former Member
0 Kudos

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,

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member225163
Active Participant
0 Kudos

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

Former Member
0 Kudos

HI Bala,

I tried with BIGINT as well, still i am facing the same error. Do you have anyother suggestions?

Thanks,

Raj.

Former Member
0 Kudos

Hi Raj,

Can you try this, In designer put the expression as:-

CAST (DB2ADMIN.IS_PRT_SALES.CNT AS BIGINT)

and put SUM() as aggregation function from the properties.

Thanks,

Vivek

former_member189638
Active Contributor
0 Kudos

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

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

Former Member
0 Kudos

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?