Oracle connect by functionality in DataStage

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
madhukar
Participant
Posts: 86
Joined: Fri May 20, 2005 4:05 pm

Oracle connect by functionality in DataStage

Post by madhukar »

Hi All,

How can i achieve Oracle connect by functionality in DataStage

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

Post by ArndW »

The PX Documentation contains several chapters on connecting PX and Oracle via different methods on different platforms. What specifically are you asking?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

This, I assume:

http://www.psoug.org/reference/connectby.html

How to replicate this Oracle functionality strictly in a DataStage job.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Craig - thanks, I was so much in DataStage mode that I assumed the "connect" meant database connectivity. My bad.
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

We did it in DataStage by running a job over and over until it selected 0 rows. What a mess. It is sort like drilling down one level at a time.
Mamu Kim
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Exactly. So, why the 'need' to replicate this in DataStage when your database can do it for you? And if a database isn't involved - get it involved. Load your hierarchical data into a work table (or tables) and source from there.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Yuan_Edward
Participant
Posts: 73
Joined: Tue May 10, 2005 6:21 pm
Location: Sydney

Post by Yuan_Edward »

Do you guys think a parallel routine could achieve this? I will have a similiar requirement in our project.
kduke wrote:We did it in DataStage by running a job over and over until it selected 0 rows. What a mess. It is sort like drilling down one level at a time.
Edward Yuan
Yuan_Edward
Participant
Posts: 73
Joined: Tue May 10, 2005 6:21 pm
Location: Sydney

Post by Yuan_Edward »

Well, in our project, the only reason that we want to do it in DataStage could be, I guess, we want to utilize the parallel processing capability of DataStage to handle huge volume of data.

Database like Oracle does have parallel processing ability but it is not as flexible as DS.
chulett wrote:Exactly. So, why the 'need' to replicate this in DataStage when your database can do it for you? And if a database isn't involved - get it involved. Load your hierarchical data into a work table (or tables) and source from there.
Edward Yuan
madhukar
Participant
Posts: 86
Joined: Fri May 20, 2005 4:05 pm

Post by madhukar »

Actually, we need to achieve during our transformation part where data will be either in datasets or output of a processing stage.

We wanted to avoid putting into a table, do connect by and reprocess again for transformation

Regards,
Madhukar
Post Reply