DSXchange: DataStage and IBM Websphere Data Integration Forum
View next topic
View previous topic
Add To Favorites
Author Message
DamienF
Participant



Joined: 18 May 2017
Posts: 5

Points: 83

Post Posted: Tue Sep 03, 2019 8:26 am Reply with quote    Back to top    

DataStage® Release: 11x
Job Type: Parallel
OS: Unix
Hello guys,

I'm having an issue with a classic paralell job doing some calculation and then writing into an Oracle Database.

At the end the calculation goes for 77.275 .

When writing it into a text file, no issue. But when going into an Oracle Table into a NUMBER(10,2) the result goes for 77.28 with Datastage 8.7 and for 77.27 with Datastage 11.5.

I would like the result to be the same as 8.7 when tie occurs i want it to be rounded to the upper bound.

The APT_DECIMAL_INTERM_ROUND_MODE variable does exists but I couldn't find a value matching my needs.

Any idea ?

Is it a known behavior ?

Thanks,
qt_ky



Group memberships:
Premium Members

Joined: 03 Aug 2011
Posts: 2870
Location: USA
Points: 21792

Post Posted: Wed Sep 04, 2019 5:36 am Reply with quote    Back to top    

See this tech note:

Datastage environment variable APT_DECIMAL_INTERM_ROUND_MODE has no effect on decimal rounding results in parallel jobs.

_________________
Choose a job you love, and you will never have to work a day in your life. - Confucius
Rate this response:  
Not yet rated
Display posts from previous:       

Add To Favorites
View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2002 phpBB Group
Theme & Graphics by Daz :: Portal by Smartor
All times are GMT - 6 Hours