Lookup on the same table twice

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

Moderators: chulett, rschirm, roy

Post Reply
dsdeveloper123
Participant
Posts: 33
Joined: Sun Jun 24, 2007 9:46 pm

Lookup on the same table twice

Post by dsdeveloper123 »

Hi,

I have a scenario where in I want to look up on the same table twice. So I have used a LoopUp stage with two oracle stages connected to it lets say ora_table and copy_ora_table both representing the same table ora_table. The first Lookup on the ora_table doesnt have any problem. But I am not getting the desired output from copy_ora_table.


Is there anything I am missing out on understanding lookup stages.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

There is nothing that prevents you from looking up the same table twice. Please post in the correct forum (PX or Server) as they use lookups differently and also post what your "expected result" for the second lookup is and what you are actually getting.
JoshGeorge
Participant
Posts: 612
Joined: Thu May 03, 2007 4:59 am
Location: Melbourne

Re: Lookup on the same table twice

Post by JoshGeorge »

You can definitly look up the same table in a Parallel job. You might want to explain the scenario as in what is your 'desired output from copy_ora_table' is and your look up conditions for that as well. .
Joshy George
<a href="http://www.linkedin.com/in/joshygeorge1" ><img src="http://www.linkedin.com/img/webpromo/bt ... _80x15.gif" width="80" height="15" border="0"></a>
Post Reply