I have a Flat file with more no. of Records also including
duplicate values. But i need distinct values to one target and
remaining records to another target in Informatica way

Answers were Sorted based on User's Feedback



I have a Flat file with more no. of Records also including duplicate values. But i need distinct v..

Answer / naveen

1)Use a router , create 2 different groups
2) let both the groups have the same condition in it . eg:
if ur source have got emp _id column and the max value in
it is 1000. Let ur condition in the router be emp_id <= 1000

3) remember , u put both the conditions in the router are
same . Because only then both the groups will fetch full
set of records , eg , if 100 records are ther in the
source , u can get 200 records from these 2 groups totally

4) from the first group, link a sorter or rank
transformation , enable select distinct in that and pass it
to the target

5) connect the other group from the router directly to
another target.

6) enjoy

Is This Answer Correct ?    2 Yes 0 No

I have a Flat file with more no. of Records also including duplicate values. But i need distinct v..

Answer / naveen

1) use the router , create 2 diff groups

2) let both the groups have the same condition , eg: emp_id
> 1000 in both the groups. only then u will all the records
in both the groups

3) use a sorter or rank transformation to enable select
distinct option for the first group and send it to the
target

4) connect the second router group directly to the another
target

5) enjoy

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More ETL Interview Questions

What are materialized views & where do we use them?

1 Answers  


what is architecture of your datastage project??? i came across this question many times in interviews in specific what can i answer plz help me.

2 Answers   IBM, Tech Mahindra,


what is pmrep command?

1 Answers  


what are the reporting tools and difference between them?

1 Answers  


When you have 2 servers in two different time zone and if you need to extract data from 1 server and load it in another server, how do you go about it? Best method to be used.

3 Answers  


Eliminating of duplicate records without using dynamic lookups

3 Answers  


A session S_MAP1 is in Repository A. while running the session error message has displayed `server hot-ws270 is connect to Repository B`.what does it mean?

1 Answers  


Where can i get informatica certification Exam dumps and details? please forward it to emailid: krisboppana@yahoo.com

320 Answers   Accenture, College School Exams Tests, CTS, Flextronics, HCL, Infosys, NexGen, Patni, SO, Wipro,


What is a lookup table in etl?

1 Answers  


How can you use an Oracle sequences in Informatica ? You have an Informatica sequence generator transformation also. which one is better to use?

1 Answers  


Explain and compare etl & manual development?

1 Answers  


What is fact? What are the types of facts?

1 Answers  


Categories