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

Highlight the main features of datastage?

1092


How you can fix the truncated data error in datastage?

1678


what is the custome stage in datastage? how can we impliment that one? plz tell me

2319


How do y read Sequential file from job control?

15808


What are the different plug-ins stages used in your projects?

1031


What is the difference between server job and parallel jobs?

1097


What are the functionalities of link partitioner and link collector?

952


What are the types of hashed files in data stage

1061


Can you define merge?

1068


Explain entity, attribute and relationship in datastage?

1045


How to RD using transformer?

1367


Differentiate between hash file and sequential file?

1002


Where do the datastage jobs get stored?

1153


Which algorithm you used for your hashfile?

1122


How can we improve performance of data stage jobs?

971