float data type from SQL server using ODBC

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
sainath
Premium Member
Premium Member
Posts: 138
Joined: Fri Nov 19, 2004 3:57 pm

float data type from SQL server using ODBC

Post by sainath »

Hi
I am using ODBC to acess SQL server data ..when i read float data type

datastage is giving fatal error..


schema reoncillation detected a size mismatch for column ,,whe reading database column DFloat to SFloat column, trancation or loss of pressiion ..




I tried to use convert function in SQL to convert from float to decimal..

but it is not allowing me to do so..

I think the problem is accessing data from SQL server..

Please help me to fix this issue
sainath
Premium Member
Premium Member
Posts: 138
Joined: Fri Nov 19, 2004 3:57 pm

Post by sainath »

Hi

can any one help to fix above issue..I already searched for this in datastage and could not find any thing

thks
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

How about posting the actual unedited error rather than typing it in by hand. And I would assume you meant "cast" rather than "convert", yes? Regardless, I'd be curious exactly what "not allowing me to do so" meant. :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Are you using an ODBC Connector stage? If so you can cause the schema mismatch to throw a warning rather than a fatal error, to determine whether it actually affects the data in the job. Ideally, of course, you need to resolve the metadata mismatch.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
sainath
Premium Member
Premium Member
Posts: 138
Joined: Fri Nov 19, 2004 3:57 pm

Post by sainath »

Hi

Thanks for your comments..

I am using ODBC Connector stage..

I mean when i was using convert function in SQL to convert from float to decimal (10,2) , I got some error as invalid operator(Yellow mark) ,

But i can view data and my connection is also working fine..

And my job also running fine..I just ignore this warning...

thks
Post Reply