Error in transformer stage:decimal value out of integer rang

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
adasgupta123
Participant
Posts: 42
Joined: Fri Oct 20, 2006 1:58 am

Error in transformer stage:decimal value out of integer rang

Post by adasgupta123 »

Hi,

We are extracting data from OLTP oracle table into Dataset.
In oracle table some columns are their which are of Decimal data type.
There is a transformer stage between oracle stage and dataset stage.

In the transformer we are converting decimal data type to intrger data
type.
Though every thing was ok,for the last few days the job is getting
aborted and showing an error message:

"one_to_one_map,2: Fatal Error: APT_Decimal::asInteger: the decimal value is out of range for the integer result"

I have tried by increasing the column length.But that is not working.
Plz help

Thanks in advance.

Regards

Avik Dasgupta.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The largest possible (signed) integer is 2147483647. Any decimal value coming from Oracle that is bigger than this will cause the error to be generated. You may need to use a BigInt data type.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
adasgupta123
Participant
Posts: 42
Joined: Fri Oct 20, 2006 1:58 am

Post by adasgupta123 »

Thanks a lot .
The problem is solved
ray.wurlod wrote:The largest possible (signed) integer is 2147483647. Any decimal value coming from Oracle that is bigger than this will cause the error to be generated. You may need to use a BigInt data type. ...
Post Reply