Access Oracle from Datastage on Solaris

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
tonystark622
Premium Member
Premium Member
Posts: 483
Joined: Thu Jun 12, 2003 4:47 pm
Location: St. Louis, Missouri USA

Post by tonystark622 »

Louise,

The Oracle client must be installed and configured correctly on the Solaris server on which DataStage is running. In addition, the directories containing the Oracle libraries must be added to some Environment variables in the 'dsenv' file. The 'dsenv' file is in the ../DataStage/DSEngine directory.

There is a ORAOCI.PDF file on the installation CD that contains instructions for properly configuring DataStage to use the ORAOCI9 stage to access Oracle.

Hope this helps,
Tony
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

It's your DataStage server that does all communications with databases, so therefore, that server has to have access to all the databases required. Oracle's native connectivity is achieved through having the Oracle client software installed. Even your PC has Oracle client software installed so that you can use something like Toad or SQL-Navigator. It's no different for the DataStage server.

Access to Oracle databases is controlled through a file called tnsnames.ora. This file resides on all machines that have the Oracle client software. Entries are put into this file that specify instances and their hosts. Have your DBA's and Unix support to a full installation of Oracle client on the DataStage server, and make sure that they setup the tnsnames.ora file to have the appropriate entries for your work.

Your last step is to have the dsenv file configured on the DataStage server to point to the Oracle libraries and Oracle home.

Good luck!

Kenneth Bland
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

A good way to think of it is that your DataStage Engine is just another client as far as the Oracle database server is concerned. So it needs to have whatever client software, environment variables, and so on that any other Oracle client would require on that machine.

If you want to work via ODBC you will also need to configure a DSN for connecting to this Oracle database; on UNIX systems this involves editing a file called .odbc.ini, and ensuring that the driver is findable (via LD_LIBRARY_PATH environment variable). But the ORAOCI stage types use the client software directly; they do not operate via ODBC.

Ray Wurlod
Education and Consulting Services
ABN 57 092 448 518
Post Reply