IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Issue in calling DB2 SP from GUI, loss of precision error


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rexx77

New User


Joined: 14 Apr 2008
Posts: 78
Location: Mysore

PostPosted: Thu Nov 14, 2013 6:32 pm
Reply with quote

HI Team,

Greetings!


I have a column declared as Decimal (12,0). GUI passses the data to MF stored procedures.

Till last week, we were able to pass the data to MF SP's with out any issues. Over the week end, DB2 V10 upgrade happened.

Thereafter even if try to pass 11 decimal values to MF SP it is getting resulted in below error. But i could able to see the value which are greater than the value which i am passing today is already available in Table , with the date in last week.

"Invalid data conversion: Requested conversion would result in a loss of precision of XXXXXXXXXX, Error code: -461, Sqlstate = -42815"

There was no changes happened to Source components over the week end nor any significant data change from Business side.

At the same time, i am not sure whether this error is because of version upgrade, cannot point that with out knowing the actual reason.


Please let me know if any one of is aware of such issues and the solutions you have tried.

Many thanks.
Back to top
View user's profile Send private message
gylbharat

Active Member


Joined: 31 Jul 2009
Posts: 565
Location: Bangalore

PostPosted: Fri Nov 15, 2013 4:24 pm
Reply with quote

Are you doing any implicit or explicit type casting in your stored procedure?

Can you show us the code? I think v10 is more strict in terms of data type casting.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
Search our Forums:

Back to Top