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

Clarify the utilization of aggregator cache record?

956


Write the prerequisite tasks to achieve the session partition?

1086


Mention a few design and development best practices for informatica?

942


What is meant by target load plan?

925


Differentiate between router and filter transformation?

964


In informatics server which files are created during the session rums?

1077


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

1025


How might you approve all mappings in the archive all the while?

968


Explain direct and indirect flat file loading (source file type) - informatica

1274


What are the different options available for update strategy?

950


difference between repository database and repository service?

1092


can any one give some examples for pre sql and post sql(Except dropping and creating index).

4053


what is informatica metadata?

982


tell me about your project functionality

2309


Explain incremental aggregation in informatica

1076