Error while importing metadata

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
xyz_chatter
Participant
Posts: 47
Joined: Fri Oct 26, 2007 7:15 pm
Location: India

Error while importing metadata

Post by xyz_chatter »

Hi Guys,

We have created a DSN and we are successfully able to connect using the new DSN name. But when we try to import the matadata of any of the tables we get the following error:

http://imageupload.org/?d=4DA759A31

I am very new to dataStage and i have no clue why the error is coming. Please assist..

Thanks in advance
antonyraj.deva
Premium Member
Premium Member
Posts: 138
Joined: Wed Jul 16, 2008 9:51 pm
Location: Kolkata

Post by antonyraj.deva »

The image you had given in the link is too unclear to read.

Please post the SQL State Code which you get in the error message.
TONY
ETL Manager
Infotrellis India

"Do what you can, with what you have, from where you are and to the best of your abilities."
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Generate the error again, check the 'Copy to clipboard' option before dismissing it and then paste the contents here.
-craig

"You can never have too many knives" -- Logan Nine Fingers
xyz_chatter
Participant
Posts: 47
Joined: Fri Oct 26, 2007 7:15 pm
Location: India

Post by xyz_chatter »

Sorry about that, here's the error:


DSR.MetaGeta(GET.COLUMNS)(SQLColumns('merch_analytics','dbo','Calendar_dim','%')) : BCI Error :
SQLSTATE=10104,CODE=103,[DataStage][SQL Client][ODBC][IBM(DataDirect OEM)][ODBC SQL Server Driver][SQL Server]The number that starts with '05000050000500005001050010500105002050020500205003050030500305004050040500405005050050500505006050060500605007050070500705008050' is too long. Maximum length is 128.
SQLSTATE=10103,CODE=102,[DataStage][SQL Client][ODBC][IBM(DataDirect OEM)][ODBC SQL Server Driver][SQL Server]Incorrect syntax near '05000050000500005001050010500105002050020500205003050030500305004050040500405005050050500505006050060500605007050070500705008050'.
xyz_chatter
Participant
Posts: 47
Joined: Fri Oct 26, 2007 7:15 pm
Location: India

Post by xyz_chatter »

Btw, the table contains no data, its only the table definition we are trying to import...
ajay.vaidyanathan
Participant
Posts: 53
Joined: Fri Apr 18, 2008 8:13 am
Location: United States

Error while importing metadata

Post by ajay.vaidyanathan »

Hi,
Is it a decimal column ??? Your error message seems to be something like a value exceeding the available limit of the size in DataStage column level. Check that first.

Regards,
Ajay
Regards
Ajay
xyz_chatter
Participant
Posts: 47
Joined: Fri Oct 26, 2007 7:15 pm
Location: India

Post by xyz_chatter »

We even created a sample table with 1 int column for testing purpose, but it keeps throwing the same error
Post Reply