oracle instant client and datastage connection help

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

dsecom
Premium Member
Premium Member
Posts: 12
Joined: Tue Jan 30, 2007 4:01 am
Location: Sandton

Post by dsecom »

The is no lib directory.
This is what i can see in home oracle home directory.
$ pwd
/home/oracle/instantclient/instantclient_10_2
$ ls -la
total 211780
drwxr-xr-x 2 oracle dba 512 Mar 9 08:42 .
drwxr-xr-x 3 oracle dba 512 Mar 9 08:36 ..
-r--r--r-- 1 oracle dba 1600090 Dec 20 15:00 classes12.jar
-rwxr-xr-x 1 oracle dba 27904 Dec 20 14:59 genezi
-r--r--r-- 1 oracle dba 1525 Dec 20 15:01 glogin.sql
-rwxr-xr-x 1 oracle dba 20857608 Dec 20 15:00 libclntsh.so.10.1
-rwxr-xr-x 1 oracle dba 117252 Dec 20 15:01 libheteroxa10.so
-rwxr-xr-x 1 oracle dba 6135928 Dec 20 14:59 libnnz10.so
-rwxr-xr-x 1 oracle dba 1165184 Dec 20 15:00 libocci.so.10.1
-rwxr-xr-x 1 oracle dba 72433976 Dec 20 14:59 libociei.so
-rwxr-xr-x 1 oracle dba 101888 Dec 20 15:00 libocijdbc10.so
-rwxr-xr-x 1 oracle dba 1141196 Dec 20 15:01 libsqlplus.so
-rwxr-xr-x 1 oracle dba 1434256 Dec 20 15:01 libsqlplusic.so
-r--r--r-- 1 oracle dba 1545954 Dec 20 15:00 ojdbc14.jar
-rw-r--r-- 1 oracle dba 159 Mar 9 08:40 oracle_env.env
-r--r--r-- 1 oracle dba 1645114 Dec 20 15:01 orai18n.jar
-rw-r--r-- 1 oracle dba 813 Mar 9 08:42 sqlnet.log
-rwxr-xr-x 1 oracle dba 6508 Dec 20 15:01 sqlplus
-rw-r--r-- 1 oracle dba 380 Mar 9 08:49 tnsnames.ora

People can make coonection to this oracle database.Not using datastage.
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

Instant client is not configured like the normal Oracle client. Your bin, lib, network directories are all in one. DS assumes that the tnsnames.ora file will be located in $ORACLE_HOME/network/admin. You need to point all environment variables at the one install directory. In order to "fool" DataStage into finding the tnsnames.ora file, consider creating subdirectory network/admin and deposit a symbolic link pointing to the real tnsnames.ra file.

You're attempting to use the non-supported client, consider installing the normal Oracle client. There's no excuse, it's free to download.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

That's because you don't have a full client installed - you have that new fangled "instant client" that is new with 10G. Search the forum and see if anyone has mentioned successfully using the Instant Client with DataStage.
-craig

"You can never have too many knives" -- Logan Nine Fingers
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

Unfortunately I answered a previous post and didn't clarify that you need normal Oracle client, I just stated that set ORACLE_HOME and 32bit client was needed.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Kenneth, would ODBC help by any chance in this case. I am as curious as OP.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

There are two choices for "talking" to Oracle: OCI or ODBC. Choose one, follow the configuration/compatibility rules.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Does ODBC require Oracle client installation default folders to establish connection. As I could see that dsenv should be set with same Lib path.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

As far as I am aware most ODBC drivers for Oracle end up using the OCI (that is, the "full client"). Certainly this is the case with the non-wire Data Direct drivers that ship with DataStage.
Last edited by ray.wurlod on Fri Mar 09, 2007 2:25 pm, edited 1 time in total.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You can use the Oracle wire drivers that ship with the product, they do not require a client.
-craig

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