decimal value getting rounded
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.