GoldenGate, Streams and Distributed Database (MOSC)

MOSC Banner

decimal value getting rounded

edited Jun 18, 2014 12:00PM in GoldenGate, Streams and Distributed Database (MOSC) 1 commentAnswered

I am using the stored procedure to update a column on the db2 table based on the incoming value from db2 table. The column is defined as decimal(15,2) in both the source and target tables. When I call the stored procedure, the column value is getting rounded to 0 after the update. For example, if the incoming value is 123.45, after the SP is called, its getting updated as 123.00. However, when I have tested my STORED PROCEDURE separately, its corectly updating the column on the target database.  The source DB is DB2 UDB and the target DB is DB2 on z/OS.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center