Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

my source like dis

10,asd,2000
10,asd,2000
10,asd,2000
20,dsf,3000
20,dsf,3000
20,dsf,3000
like dis and my requirement is first record is inserted into
first target and duplicates of first record is inserted into
second target ...like dis way ...?

how to achieve dis?

Answer Posted / santosh kumar sarangi

1.first sort the data with sorter t/r as ID key column and
create below port in exp transformation
var2= var1
id
var1=id
rec_count=iff(var1=var2,rec_count+1,1)
2.Give all the port to router t/r and give the filer
condition as below
rec_count=1 then to first target
default to 2nd target

Let me know if any things is wrong.

Thanks & Regards
Santosh Kumar Sarangi

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How we can create indexes after completing the load process?

1197


How can repository reports be accessed without sql or other transformations?

1264


I have three same source structure tables. But, I want to load into single target table. How do I do this? Explain in detail through mapping flow.

1330


Define mapplet?

1054


What is a pre-defined event and user-defined event?

1078


In what scenario we use to improve session performance by pushdown optimization?can any one give example?

6274


how to construct simple biogas digerter? please show me detail drawing and specification of simple biogas construction?

2502


Tell me can we override a native sql query within informatica? Where do we do it? How do we do it?

1110


How do you take back up of repository?

1205


How can we use batches?

1062


tell me about your project functionality

2379


How do you load first and last records into target table? How many ways are there to do it? Explain through mapping flows.

1176


If informatica has its scheduler why using third party scheduler?

1302


What are active transformations.

1700


how can we find the bottle neck in SQL Query in SOURCE QUALIFIER, and how can we tune it..?

7173