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 / purba

Input:
A
B
B
C
D
D
D

Required output:
A
B
C
D

Solution:
Seq file----->sort stage(create key change column for the I/p key row)
O/p:
A 1
B 1
B 0
C 1
D 1
D 0
D 0

Now take filter stage to filter for key column=0 & keycol=1
We get 2 outputs:
A. B
B. D
C. D
D

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between sequential file and data set?

1134


Triggers,VIEW,Procedures

1175


What is quality stage?

937


Explain connectivity between datastage with datasources?

938


How do y read Sequential file from job control?

15797


Explain the situation where you have applied SCD in your project?

1973


What is a folder? Difference types of stages?

1102


What is the use of datastage director?

973


What is merge stage?

1225


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

1080


What is orabulk stage?

991


Differentiate between Join, Merge and Lookup stage?

1037


how to implement scd2 in datastage 7.5 with lookup stage

5549


On which Dimension Table you implemented SCD Type in your Project

1970


What is the difference between datastage and informatica?

1059