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

how to retrive the max(sal),deptno,empno in datastage?

Answer Posted / poornachandrababu.l

Hi, This is Poorna,
take a source and then copy stage,to copy stage 2 o/p links
one output is for aggregator and other for join.

In aggregator
set group=deptno
aggregator type=calculation
column for calculation=sal
max value output column=sal.

In Join stage do equee join based on deptno and sal .

And pass output of join Stage to target.
By doing this wasy we can get Max(sal) of the employee on
particular department.

Is This Answer Correct ?    12 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where do the datastage jobs get stored?

1272


Which algorithm you used for your hashfile?

1234


Differentiate between Symmetric Multiprocessing and Massive Parallel Processing?

1277


Name the different sorting methods in datastage.

1108


how to abort the job its matain duplicates?

2628


What is the purpose of interprocessor stage in server jobs?

2298


How you can fix the truncated data error in datastage?

1890


What is a datastage job?

1059


What are the types of hashed files in data stage

1146


What is aggtorec restructure operator?

1531


What is the difference between passive stage and active stage?

1650


How to find value from a column in a dataset?

2257


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

1216


Can you explain engine tier in information server?

1191


What is use Array size in datastage

1829