I have source file which contains duplicate data,my
requirement is unique data should pass to one file and
duplicate data should pass another file how?

Answer Posted / riyazahamedmohamed

take two links using copystage, of your input file,one is your input file output, another one is for keychange column(using sort stage set the key change column to true) with filter "0" out of transformer, to the look up stage.set the lookup option to continue-reject.you will get the desired output.reject will capture unique records.output file will capture duplicate records.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between validated and compiled in the datastage?

707


What is the Environment Variable need to Set to TRIM in Project Level?(In transfermer, we TRIM function but I need to impliment this project level using Environment variable)

1905


How to RD using transformer?

868


What is datastage engine?

733


What is the purpose of pivot stage?

612






how many rows sorted in sort stage by default in server jobs

3564


What is staging variable?

626


explain about citrix scheduling tool in datastage

1812


What are iconv and oconv?

779


What is a folder? Difference types of stages?

635


8000 jobs r there i given commit, suddenly job will abort? what happens? 2)diff b/t transformer stage & filter stage? 3)how to load the data in the source?

1786


Notification Activity

903


What is a ds designer?

644


What is the flow of loading data into fact & dimensional tables?

600


Explain how a source file is populated?

767