Decimal Places getting truncated while moving data
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 10
- Joined: Sat Feb 16, 2013 9:45 am
Decimal Places getting truncated while moving data
Hi I am new to data stage and i am also facing the issue.
We are using datastage runtime column prapogation for a table. The source value is 11111111111.489001 and in target getting 11111111111.489.
Decimal Places getting truncated while moving data
Could anybody pls help?
thanks
We are using datastage runtime column prapogation for a table. The source value is 11111111111.489001 and in target getting 11111111111.489.
Decimal Places getting truncated while moving data
Could anybody pls help?
thanks
-
- Participant
- Posts: 10
- Joined: Sat Feb 16, 2013 9:45 am
-
- Premium Member
- Posts: 536
- Joined: Thu Oct 11, 2007 1:48 am
- Location: Bangalore
Hi,
Then how are you getting decimal in target?
Then how are you getting decimal in target?
Thanks
Prasoon
ETL Consultant
LinkedIn :- http://www.linkedin.com/profile/view?id ... ab_pro_top
Blog:- http://dsshar.blogspot.com/
Prasoon
ETL Consultant
LinkedIn :- http://www.linkedin.com/profile/view?id ... ab_pro_top
Blog:- http://dsshar.blogspot.com/
-
- Participant
- Posts: 10
- Joined: Sat Feb 16, 2013 9:45 am
Oracle NUMBER datatype can store a decimal number. The source is NUMBER datatype and target is also NUMBER datatype.
The source value is 11111111111.489001 and in target i am getting 11111111111.489. I am using runtime column prapogation.
Please let me know if I misunderstood your qestion or if you need more details. Thanks in advance.
The source value is 11111111111.489001 and in target i am getting 11111111111.489. I am using runtime column prapogation.
Please let me know if I misunderstood your qestion or if you need more details. Thanks in advance.
-
- Participant
- Posts: 10
- Joined: Sat Feb 16, 2013 9:45 am
-
- Participant
- Posts: 10
- Joined: Sat Feb 16, 2013 9:45 am
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 10
- Joined: Sat Feb 16, 2013 9:45 am
I havent set any scale or precision... But what i found is that even if the source number is having more than 15 digits before decimal and any number of digit after decimal, the target is having total of 15 digits(with or without precison,,
Could you please let me know how to set scale or precision if runtime column prapogation.?
Could you please let me know how to set scale or precision if runtime column prapogation.?
Well, 15 is a magic number and (from what I recall) the default precision limit under the covers in DataStage. Problem is I don't recall and couldn't find via a search how to change that... guys, is there an APT variable for that? In uvconfig?
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers