Regarding Oracle 10g

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
Zabeerulla
Participant
Posts: 38
Joined: Tue Jan 10, 2006 1:25 am

Regarding Oracle 10g

Post by Zabeerulla »

Hi,

Can we use DRS Stage of DataStage 7.5.1 to connect Oracle 10g?

Or we have to use only Oralce Stage to connect Oracle 10g in DS 7.5.1.
Thanks & Regards,

Zabi
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

DRS, ODBC and the Oracle stages can all connect to an Oracle database.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Re: Regarding Oracle 10g

Post by chulett »

Zabeerulla wrote:Can we use DRS Stage of DataStage 7.5.1 to connect Oracle 10g?
What happens when you try? Answer should be 'yes' but I haven't seen a need to use the DRS stage yet, so...
-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 »

I believe you wlil use Oracle 9i client with the DRS stage to point to 8, 9, and 10 databases.
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
Zabeerulla
Participant
Posts: 38
Joined: Tue Jan 10, 2006 1:25 am

Post by Zabeerulla »

Now we are using MS SQL Server 2000 and DataStage 7.1. We are using DRS stage for to connect to SQL Server tables.

We are going to upgrade to DS 7.5.1 and migrate to Oracle 10g. Whether we can continue to use the same DRS stage by changing the DBMS name from SQL Server to Oracle or we to replace all the DRS Stages with Oracle OCI stage. Please help.
Thanks & Regards,

Zabi
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

The "theory" is that all you need to do is "adjust" the DRS stage to Oracle via the drop down on the stage.

But the "practice" is that you have to re-write any custom SQL into Oracle syntax. You'll also seriously consider re-importing all metadata using Oracle's plugin so that the correct data types are there. Dynamic SQL is generated with optional functions based on the datatypes, so you need to be aware of this.

In moving from SQL-Server to Oracle you will need to adjust datatypes within the data model because of incompatibilities. You'll have to reflect those changes within the DataStage jobs. Oracle has a large text field limited to 4000 characters, so a SQL-Server TEXT value can't convert straight away. Using a CLOB has severe limitations and may not be the choice to make. Your decisions could change the data model, and once you do that the changes to the jobs are more severe.

The panacea of just switching a value in the stage is never the case.
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
Zabeerulla
Participant
Posts: 38
Joined: Tue Jan 10, 2006 1:25 am

Post by Zabeerulla »

For connecting Oracle whether I need to edit the following three files.

dsenv
.odbc.oni
uvodbc.config
Thanks & Regards,

Zabi
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

None, ODBC connections are managed thru the ODBC icon in Control Panel. OCI connections are managed via Oracle client installation.
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
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

I suspect Zabeerulla is on UNIX and is paying the price for hijacking a thread about a problem on Windows.

If on UNIX then you do need to edit the three files indicated.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

ray.wurlod wrote:I suspect Zabeerulla is on UNIX and is paying the price for hijacking a thread about a problem on Windows.

If on UNIX then you do need to edit the three files indicated.
Nope, they're the original poster and indicated Windoze.
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
Post Reply