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 a scenario like two columns(Empno, Ename) in that duplicate records are there, so my question is how to get second duplicate record in datastage.

Answer Posted / pavani

if we have n duplicates
source---->transformer-------->target.
in transformer we define 2 stage variables
if empno=stg_var2 then stg_var1+1 else 1------->stg_var1;
emp_no-------->stg_var2;

now the constraint for target is stg_var1=2

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the components of datastage?

1123


Which is the best institute in Hyderabad to learn OBIEE and DataStage?Please tell me faculty name also

3167


hi iam new to this tooliam cmpltied to know abt datastage so now iam in project tell me whole step by step what iam doing iwnt to go with exp so plz hlp me pals

1873


what are the devoleper roles in real time? plz tell i am new to datastage....

2164


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

5123


What is the difference between orabulk and bcp stages?

1027


how to export or import the jobs in .ISX file

1203


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

2447


How complex jobs are implemented in datstage to improve performance?

1042


What is the purpose of pivot stage and types of containers in datastage

1041


Define Merge?

1320


How to read multiple files using a single datastage job if files have the same metadata?

1252


table actions available in oracle connector?

1612


What is usage analysis in datastage?

1309


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

1133