Page 1 of 1

Meta Data Plug-in and Oracle version compatibility question

Posted: Thu May 24, 2007 7:46 am
by hobocamp
I currently have the Oracle 8 & 9 clients installed on my pc (and therefore when I go to the Import Plug-in for Meta Data in DS those two are available to be selected in the drop-down menu).

I now have some Oracle 10 table definitions I need to import. Do I need have to have the Oracle 10 client installed to be able to import these definitions, or should they be backwards-compatible? Currently when I try to import them (after selecting Oracle 9 in the Import Plug-in) I get a "TNS:Could not resolve service name" error.

Thanks for any input!

Tom

Posted: Thu May 24, 2007 7:52 am
by DSguru2B
It should work. You can access 10g using 9i client. Check the tnsnames.ora file. Do you have that particular sid set up?

Re: Meta Data Plug-in and Oracle version compatibility quest

Posted: Thu May 24, 2007 7:55 am
by JeroenDmt
I think you can import them in Datastage without a problem as long as your Oracle client can read them.
The error "TNS: Could not resolve service name" has nothing to do with the database being Oracle 10 though. It means that it cannot connect to the database because it cannot find the database you specified in the connection parameters in the Oracle stage.
Check if you spelled the database source name correctly and if you can connect to the Oracle 10 database with the same credentials using your Oracle client.
hobocamp wrote:I currently have the Oracle 8 & 9 clients installed on my pc (and therefore when I go to the Import Plug-in for Meta Data in DS those two are available to be selected in the drop-down menu).

I now have some Oracle 10 table definitions I need to import. Do I need have to have the Oracle 10 client installed to be able to import these definitions, or should they be backwards-compatible? Currently when I try to import them (after selecting Oracle 9 in the Import Plug-in) I get a "TNS:Could not resolve service name" error.

Thanks for any input!

Tom

Posted: Thu May 24, 2007 7:55 am
by hobocamp
That's good to know that it should work without the new client.

I do have that SID in my tnsnames.ora file. Here's the way it looks:

dwtst =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = pjcuxdev)(PORT = 1521))
)
(CONNECT_DATA = (SERVICE_NAME = dwtst)(SERVER = DEDICATED))
)

Posted: Thu May 24, 2007 9:30 am
by hobocamp
Thanks for the suggestion. I tested the connection to the Oracle 10 tables, and I am able to access them through my Oracle client. So I'm still confused as to why I wouldn't be able to access them through the DS plug-in.

Posted: Thu May 24, 2007 9:33 am
by DSguru2B
I hope you checked the TNSNAMES.ORA file on your datastage server. The entry looks alright. Can you login, from sqlplus from your datastage server, to your database?