Warning : Problem in adjusting floating point

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
Archana
Participant
Posts: 15
Joined: Thu Mar 23, 2006 3:55 am
Location: Hyderabad
Contact:

Warning : Problem in adjusting floating point

Post by Archana »

Hi ,

We have got a column(addr_key) in the oracle table which has metadata like Number(11).
In the datastage job , we have a query like

SELECT MAX(ADDR_KEY) ADDR_KEY
, 'ADDR_DIM' TABLE_NAME
FROM ADDR_DIM

While running the job we are getting following warning.

oraAddrDimsel: Column ADDR_KEY floating point decimal is not fully supported; adjusting the scale.

Please, let me know what needs to be to remove such warnings .

Thanks in Advance
Archana
Archana
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Try something like

Code: Select all

SELECT CAST (MAX(ADDR_KEY) AS NUMBER(11)) ADDR_KEY ...
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Archana
Participant
Posts: 15
Joined: Thu Mar 23, 2006 3:55 am
Location: Hyderabad
Contact:

Warning : Problem in adjusting floating point

Post by Archana »

Hi,

Thanks a lot for the response.
I tried the query you sent . But still I am getting the same warning.
Could you please suggest me ssome more options??

Thanks
Archana
Archana
keshav0307
Premium Member
Premium Member
Posts: 783
Joined: Mon Jan 16, 2006 10:17 pm
Location: Sydney, Australia

Post by keshav0307 »

use

Code:
SELECT CAST (MAX(ADDR_KEY) AS CHAR(11)) ADDR_KEY from ...

then convert it into number
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

What is the datatype for ADDR_KEY in datastage?
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
goosarikiran
Participant
Posts: 9
Joined: Tue Jul 26, 2005 11:12 pm
Location: Bangalore

Re: Warning : Problem in adjusting floating point

Post by goosarikiran »

Hi

Use the DRS stage instead of the Oracle Enterprise stage. this will solve your problem.

Kiran
Archana wrote:Hi ,

We have got a column(addr_key) in the oracle table which has metadata like Number(11).
In the datastage job , we have a query like

SELECT MAX(ADDR_KEY) ADDR_KEY
, 'ADDR_DIM' TABLE_NAME
FROM ADDR_DIM

While running the job we are getting following warning.

oraAddrDimsel: Column ADDR_KEY floating point decimal is not fully supported; adjusting the scale.

Please, let me know what needs to be to remove such warnings .

Thanks in Advance
Archana
Regards,

Kiran
Post Reply