How to get max salary of an organization using data stage
stages...........
can any body help me plz.......
Answer Posted / amjad
Hi Naga,
If we use Aggregator stage, it will give the max value from
different groups, as per your example, it will group by
company, then it will give the max sal from each group. but
how to max sal from all the groups, i mean the out put
should be only one value.
Ex:
COMPANY,SAL
A, 2000
B, 3000
C, 4000
A,5000
B,6000
C,7000
A,8000
B,9000
C,9999
if we do like you mention output will be like :
comp,maxsal
A,8000
B,9000
C,9999
But, the output should be only
C,9999
Plese let me if iam wrong.
| Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
Can you explain how could anyone drop the index before loading the data in target in datastage?
What are routines in datastage?
Differentiate between datastage and informatica?
What is the difference between orabulk and bcp stages?
What is orabulk stage?
What are the primary usages of datastage tool?
what are .ctl(control files) files ? how the dataset stage have better performance by this files?
What is the roundrobin collector?
Is it possible to implement parallelism in Mainframe Jobs ? If Yes how ? If no why ?
Hi All , in PX Job I have passed 4 Parameters and when i run the same job in sequence i dont want to use those parameters , is this possible if yes then how
Can you explain engine tier in information server?
What is a folder? Difference types of stages?
How to clean the datastage repository?
How can we improve the performance in datastage?
What is merge stage?