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...

Source is a flat file and want to load unique and duplicate
records separately into two separate targets; right??

Answer Posted / nitin

Create the mapping as below to load Unique records and duplicate records each in separate targets

Source->SQ->Sorter->Aggregator->Router-> Tgt_Unique
-> Tgt_Duplicate
In aggregator use group by on all ports.
and define a port OUTPUT_COUNT = COUNT(*)
In the router define two groups OUTPUT_COUNT > 1 and OUTPUT_COUNT = 1; Connect the outputs from the first group
OUTPUT_COUNT > 1 to tgt_Duplicate and OUTPUT_COUNT = 1 to Tgt_Unique

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is mean by complex business rule ?

2162


Explain the mapping variable usage example in informatica

1165


explain about unit testing? in real time?

2205


How many ways are there to do 'remove duplicate records in informatica'?

1015


can you please explain me pre session and post session options?

7570


What are the advantages of informatica?

1014


What are mapplets? How is it different from a Reusable Transformation?

1092


What is data caches/ index caches?

1107


Write the different tools in the workflow manager?

1068


What is decode in informatica?

1165


What is informatica? Why do we need it?

1101


Explian the Process of deployment groups in informatica

1062


What is olap (on-line analytical processing?

1069


How to load last n records of file into target table - informatica

1082


Name the different lookup cache(s)?

1235