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 / dilip anand k

Its Simple!!

All you have to do is link your source to a Sort Stage.
Sort the data and generate a Key Change column.
Key Change column = ‘1’ represents that the record is
unique while Key Change Column = ‘0’ represents the
duplicates.

Put a Filter stage and filter out the data into two
different outputs based on the generated Key Change Column.

Is This Answer Correct ?    21 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of datastage designer?

893


What is a datastage job?

818


What is the difference between passive stage and active stage?

1121


What are the different layers in the information server architecture?

889


Difference between data warehousing and olap?

863


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

783


How complex jobs are implemented in datstage to improve performance?

809


whom do you report?

1734


Which algorithm you used for your hashfile?

924


What all the types of jobs you developed?

916


What are the areas of application?

934


What is datastage engine?

970


What are data elements?

890


how to add a new records into source?

1765


What are the job parameters?

965