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 custome stage in datastage? how can we impliment that one? plz tell me

2140


1)s.key generate 1 to 700 records today. tomorrow another 400 will updated how to update the records using s.key generator? 2)source is like :-- DB --> T/F stage1 --> seq1file T/f 1 is linking with T/F2 ---> seq 2 how to load the data? in source i given some conditions those r going in seq1. The another data will going to seq2 how to do this ?

1827


why do u need the IOS upgradation in a FC switch

2055


What is the difference between orabulk and bcp stages?

789


Distinguish between informatica & datastage. Which one would you choose and why?

765


What is developer responsibilities in UAT (user acceptance testing and Post implementation phase?

1871


Differentiate between operational datastage (ods) and data warehouse?

912


What are the main differences you have observed between 7.x and 8.x version of datastage?

845


What are routines in datastage?

1070


What are the types of containers in datastage?

931


How you Implemented SCD Type 1 & Type 2 in your project?

3901


how to write server Routine coding?

1866


tell me 5 situations when we r using oracle db stages like orecle connector, oracle enterprise

2930


how to export or import the jobs in .ISX file

952


Could anyone give brief explanation bout datastage admin

2166