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
What are the different ways to implement parallel processing in informatica?
What is Index Caches size?
expain about the tune parameters?
What is an active transformation?
If i have source as flat file. how can i store the header and trilor into one target and data into one more target. |------>target1(header+trailor) source------ |------>target2(data) can any one please help me
Write the unconnected lookup syntax?
What is the way to execute pl/sql script using informatica mapping?
How to implement security measures using repository manager?
How to generate sequence numbers without using the sequence generator transformation?
How big was your fact table
I have worked on Informatica 7.1.1. I want to know the answer for the below question. Target is not created initially.Then how to take the DDL script from the source and run the Mapping by creating the Target dynamically?Is it possible by SQL Transformation?
What the difference is between a database, a data warehouse and a data mart?
What is session task and command task?
Explain what are the different versions of informatica?
How might you approve all mappings in the archive all the while?