Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Can you explain how could anyone drop the index before loading the data in target in datastage?

1440


Describe the main features of datastage?

1036


How to perform incremental load in datastage?

1125


Differentiate between datastage and informatica?

1140


What are datastage sequences?

1056


What are some different alternative commands associated with "dsjob"?

1080


Can anyone tell me a difficult situation who have handled while creating Datastage jobs?

3211


Define Routines and their types?

1096


What are the types of containers in datastage?

1143


what is the use of materialized view?

1487


how to use self join using datastage ? can u tell me using stage how can we implemnet the self join

5044


What are the job parameters?

1157


What are the main features of datastage?

1206


Can you define merge?

1063


State the difference between an operational datastage and a data warehouse?

1056