Oracle Configuration

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
ryoung011
Participant
Posts: 10
Joined: Mon May 03, 2004 2:02 pm
Location: Atlanta, GA
Contact:

Oracle Configuration

Post by ryoung011 »

We are currently using the Oracle 9i client and accessing 8i and 9i databases. We have recently been asked to extract data from an Oracle 7 database.

First, a general question. Can DataStage access two Oracle homes simultaneously? Or, can we use the OCI8 and OCI9 stages within the same project? Perhaps using the 8i client?

Second, we've attempted to setup an ODBC DSN for the Oracle 7 database using the Oracle 8 ODBC driver. The issue is that there is no parameter for SID. Hence, when we test, we get the "ORA-12505: TNS:listener could not resolve SID given in connect descriptor" error message. How do you specify the database name?

Thanks in advance,

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

Re: Oracle Configuration

Post by chulett »

ryoung011 wrote:Can DataStage access two Oracle homes simultaneously?
Nope.
ryoung011 also wrote:Or, can we use the OCI8 and OCI9 stages within the same project? Perhaps using the 8i client?
Same project, yes. Same job, no. However, I've used an 8i client to access both 8i and 9i databases via the OCI8 plugin without a problem in the past.
Lastly, ryoung011 wrote:Second, we've attempted to setup an ODBC DSN for the Oracle 7 database using the Oracle 8 ODBC driver. The issue is that there is no parameter for SID. Hence, when we test, we get the "ORA-12505: TNS:listener could not resolve SID given in connect descriptor" error message. How do you specify the database name?
Not really sure as I've never used ODBC to access Oracle, only the native OCI stages. I would think it would be ServerName in the .odbc.ini file - that should be the tnsnames entry it would use.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply