Hello all
I have a column A in an Oracle table with datatype Number(10). When I import the table definition into one of my datastage jobs, this column A is getting imported as BigInt type and is not accomodating values greater than 2147483647. But I have values greater than this value in database which are seen as 2147483647 when I try to view data in the designer. I tried changing datatypes to Char,varchar,decimal,numeric etc etc but no luck there.Same thing when done in server canvas, column A is getting imported as Decimal and there is no problem there. Any input is greatly appreciated
Thanks
KP
problem with big integer values
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Do a search for 2147483647 - you might learn about handling of integers in DataStage, at least in the server environment (where BigInt is treated as Integer). I can not test whether the same occurs in PX, but it sounds like it is.
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: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Final suggestion - go for a bigger data type, for example Decimal(38) or VarChar(255). If that doesn't work, log a support call. I'm not using PX at the moment, so I can't test my theories.
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.