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...

one file contains
col1
100
200
300
400
500
100
300
600
300
from this i want to retrive the only duplicate like this
tr1
100
100
300
300
300 how it's possible in datastage?can any one plz explain
clearley..........?

Answer Posted / pooja

Follow the following steps -

1. Seq file stage - Read the input data in seq file - input1.txt
2. Aggregate stage - count the number of rows (say CountRow) for each ID(group=ID)
3. Filter stage - Filter the data where CountRow<>1
4. Perform join on the output of the step 3 and input1.txt.
You will get the result :)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we improve the performance in datastage?

1093


Differentiate between hash file and sequential file?

1052


What are the different layers in the information server architecture?

1116


What is the difference between in process and inter process?

1128


Explain ibm infosphere information server and highlight its main features?

1081


What are routines in datastage? Enlist various types of routines.

1084


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

993


WAT TYPE OF PL/SQL QUERRYS USED IN DATASTAGE

3640


Define oconv () and iconv () functions in datastage?

1396


Have you have ever worked in unix environment and why it is useful in datastage?

1122


how can we create rank using datastage?what is the meaning of rank?

8765


What is the importance of the exception activity in datastage?

1056


How can we perform the 2nd time extraction of client database without accepting the data which is already loaded in first time extraction?

2432


How do you import and export the datastage jobs?

1146


What is merge stage?

1284