Hi,
I have data coming in Decimal format like 98789.99. After reading this, i need to sum up all these values in Aggregator stage.
For that i tried modify stage to convert dfloat to decimal. i got the error as below
Modify_171: When checking operator: When binding output schema variable "outRec": When binding output interface field "TRL_Tot_Amt_In" to field "TRL_Tot_Amt_In": Conversion from source type "dfloat" to result type "decimal[17,2]": Possible range limitation.
I used like this :
TRL_Tot_Amt_In:decimal[17,2]=decimal_from_dfloat (TRL_Tot_Amt_In)
Double to decimal conversion using modify stage
Moderators: chulett, rschirm, roy
Re: Double to decimal conversion using modify stage
It is not an error. It is a warning in which you need to give attention.
In relates to conversion do the search in the forum. You can find good number of threads will help you to find the solution.
In relates to conversion do the search in the forum. You can find good number of threads will help you to find the solution.
Thanks
Ram
----------------------------------
Revealing your ignorance is fine, because you get a chance to learn.
Ram
----------------------------------
Revealing your ignorance is fine, because you get a chance to learn.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
DataStage is alerting you to the fact that some dfloat values can not be stored in a decimal[17,2] column (because they are too large). You can choose to ignore/demote/suppress this warning only if you are 100% certain that every value you will be processing is legal for decimal[17,2].
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 42
- Joined: Tue Oct 20, 2009 8:36 am