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 standalone command task?

1027


How do you load more than 1 max sal in each department through informatica or write sql query in oracle?

1359


SOURCE DATA IS DISPLAY IN THIS FORMATE IN TARGET . WHAT BUSINESS LOGIC WE CAN APPLY. source table target table ------------ ------------ c1 c2 c3 c1 c2 c3 -- -- -- -- -- -- 1 A J 1 2 B K 2 A 3 C L 3 B J 4 D M 4 C K 5 E N 5 E L F M N

1878


Explain what transformation and how many are there in informatica?

719


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

867


How to join three sources using joiner?

824


What is the function of union transformation?

849


What does role playing dimension mean?

820


Design time, run time. If you don't create parameter what will happen

1636


can u any challenge your project?

1804


how to load rows into fact table in data warehouse

906


Explain about cumulative Sum or moving sum?

808


Explain sessions?

779


Explain pushdown optimization and types in informatica

862


Informatica settings are available in which file?

781