Page 1 of 1

odbc issue in datastage 8.0.1

Posted: Mon May 11, 2009 1:33 am
by v2rao
Dear Team,


When I try to view the data of the below query in ODBC connector stage, i getting error msg "error occured while invoking CAS".

" SELECT COL_NUM1, COL_NUM2 FROM TABLENAME;"

please tell me why it is coming.

Posted: Mon May 11, 2009 6:49 am
by chulett
How can we, with so little information posted? What are you trying to connect to and with what driver? Details, man, details.

Re: odbc issue in datastage 8.0.1

Posted: Mon May 11, 2009 11:33 am
by reddysrc
metaData Missmatch, correct your metadata according to source file.

Thanks
Ram

Posted: Tue May 12, 2009 12:06 am
by v2rao
Thanks for replays,

in my job we are connecting to informix table with 28 columns, but i need 2 columns only that i written a query for retriving 2 columns but it throwing error.


Please help me in this

Posted: Tue May 12, 2009 12:14 am
by ray.wurlod
Why is there a leading space in your SQL? Have you tried it without the terminating semi-colon?

Posted: Tue May 12, 2009 12:45 am
by v2rao
hi ray,


i try with remove ";" also but it is coming.

one thing i like to know that we need to import completed metadata of the table or just two columns saficent.

i done with 2 column import only but it is not working.

Posted: Tue May 12, 2009 1:10 am
by ray.wurlod
OK, be more specific - "not working" does not convey anything useful. What precise error message is generated (copy/paste it from the job log - don't try to paraphrase or transcribe it).