hi all hi have flat file like below my requirement is
empid,ename,sal,loc
101,vamshi,5000,hyd
101,vamshi,5020,hyd
201,raju,5000,hyd
202,ram,4000,hyd
203,kumar,3500,pune
203,kumar,3500,pune
203,kumar,5000,hyd
203,kumar,6000,hyd
i want the o/p like this
in one target
201,raju,5000,hyd
202,ram,4000,hyd
and in second target
101,vamshi,5000,hyd
101,vamshi,5020,hyd
203,kumar,3500,pune
203,kumar,3500,pune
203,kumar,5000,hyd
203,kumar,6000,hyd

Answer Posted / redflower

src->sq->exp->router->trg1
->trg2

create one variable port and write the substr() function
ename like k% is goes to one trg and remaining records goes
to another trg by using router t/r

Is This Answer Correct ?    2 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define sessions in informatica etl?

699


source : xml file target: xml file how can we check data loaded into target xml file using writing sql query. pls help on this asap.

2382


What is the use of target designer?

699


How do you load alternate records into different tables through mapping flow?

1418


Explain lookup transformation is active in informatica

734






What is the difference between power center and power mart? What is the procedure for creating independent data marts from informatica 7.1?

704


How to generate sequence numbers without using the sequence generator transformation?

749


What are the limitations of joiner transformation?

746


Where are the source flat files kept before running the session?

721


What is aggregator transformation in informatica?

628


what are 3 tech challenges/ common issues you face?

1980


How many input parameters can exist in an unconnected lookup?

1148


Define Pmrep command?

723


What is a difference between complete, stop and abort?

739


What is an unconnected transformation?

763