Hi All,
I have one scenario. Could you please Help me the below scenario.
INPUT IS
EMPNO,ENAME
100,SUSHMA
100,HARITHA
101,SUSHMA
101,SUSHMA
102,HARITHA
103,PUJA
103,PUJA
104,SUSHMA
104,HARITHA
I WANT OUTPUT AS
EMPNO,ENAME
100,HARITHA
101,SUSHMA
101,SUSHMA
102,HARITHA
103,PUJA
103,PUJA
104,HARITHA
In the above example where extract the ENAME group contains the name as HARITHA remaining records will be discard.
Thanks in Advance your Help...
Datastage Scenario?
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 152
- Joined: Mon Mar 07, 2011 6:16 am
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Hi Sushma,
The below procedure will help for your Scenario.
1)EMPNo of HARITHA(100,102,104) are reference to a LookUp.
2)It's O/P has 5 recs and Rej has 4 recs(101,103).
3)Take a Transformer constaint ENAME='HARITHA' on LookUp O/P.
4)Funnel with LookUp Rejects
Thanks in advance for alternate ideas.
---------------------------------------
RPhani
The below procedure will help for your Scenario.
1)EMPNo of HARITHA(100,102,104) are reference to a LookUp.
2)It's O/P has 5 recs and Rej has 4 recs(101,103).
3)Take a Transformer constaint ENAME='HARITHA' on LookUp O/P.
4)Funnel with LookUp Rejects
Thanks in advance for alternate ideas.
---------------------------------------
RPhani