Is ODBC required for Database communications in DataStage?

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
Athorne
Participant
Posts: 57
Joined: Wed Feb 04, 2004 1:37 pm

Is ODBC required for Database communications in DataStage?

Post by Athorne »

My apologies if this topic has already been covered, but I'm not the most adept at using the forum search. My question is if I have to use ODBC as my go between for communications between the DataStage Server and my Oracle Database.

I understand I pretty much need it to allow my Clients to access meta data when creating a new map, but for the actual run of an ETL process on my Unix Server, do I really need ODBC or can I do a direct Oracle connection into the Database? I do have the Oracle 9i plugin installed and it is available, but from what I've tested the Database connection definitions are still being pulled from ODBC. I don't have a reason to bypass ODBC currently, but I had some concerns in future with Performance of my maps and figure a native connection would perform better than an ODBC to Oracle connection. Any information on this topic would be greatly appreciated.
Andrew Thorne

Lead Software Engineer
PeopleSoft Technical Architecture
Enterprise Rent-A-Car
tonystark622
Premium Member
Premium Member
Posts: 483
Joined: Thu Jun 12, 2003 4:47 pm
Location: St. Louis, Missouri USA

Post by tonystark622 »

You can definitely access the Oracle libraries directly by using an OracleOCI stage (OracleOCI9) or the DRS stage. The Oracle Libraries have to be configured correctly in DataStage's environment. This is usually done in the dsenv file.

Tony
Athorne
Participant
Posts: 57
Joined: Wed Feb 04, 2004 1:37 pm

Post by Athorne »

We are using the DRS stage for our maps based on documentation from PeopleSoft. In the background I still have to put a valid dsn in the .odbc.ini under the $DSHOME. So I guess I must have something configured incorrectly, or we are not using the DRS correctly. Is there a delievered document for the product that I can read through to learn more about the proper setup and use of DRS?
Andrew Thorne

Lead Software Engineer
PeopleSoft Technical Architecture
Enterprise Rent-A-Car
tonystark622
Premium Member
Premium Member
Posts: 483
Joined: Thu Jun 12, 2003 4:47 pm
Location: St. Louis, Missouri USA

Post by tonystark622 »

If you look in the DataStage directory under "Program Files" on your hard drive (wherever you have it installed), there's a "Docs" directory. In the "Docs" directory is a file called "DRSStage.pdf". This should provide you with the info you need (I hope, I haven't actually looked).

Tony
Athorne
Participant
Posts: 57
Joined: Wed Feb 04, 2004 1:37 pm

Post by Athorne »

I was just in the process of printing that out when you posted this. I think that is probably what I'm looking for. Just another case of RTFM on my part. :oops: I appreciate the response though.
Andrew Thorne

Lead Software Engineer
PeopleSoft Technical Architecture
Enterprise Rent-A-Car
Post Reply