hi my source is::
empno,deptno,salary
1, 10, 3.5
2, 20, 8
2, 10, 4.5
1, 30, 5
3, 10, 6
3, 20, 4
1, 20, 9
then target should be in below form...
empno,max(salary),min(salary),deptno
1, 9, 3.5, 20
2, 8, 4.5, 20
3, 6, 4, 10
can anyone give data flow in data stage for the above
scenario....
thanks in advance...
Answer Posted / lakshmi srinivas
source->copy->2 aggregators->join->target
1 aggregator->eno,max(sal),min(sal)
2 aggregator->eno,dno,max(sal)
by using max(sal) key, we can join both o/p of
aggregators,we can get that output...
| Is This Answer Correct ? | 13 Yes | 1 No |
Post New Answer View All Answers
What is a ds designer?
What are the functionalities of link collector?
How to convert RGB Value to Hexadecimal values in datastage?
How you can fix the truncated data error in datastage?
Can you explain how could anyone drop the index before loading the data in target in datastage?
How many types of stage?
Differentiate between datastage and datastage tx?
What is difference between server jobs & parallel jobs?
What is the difference between operational data stage (ods) and data warehouse?
project Steps,hits, Project level HArd things,Solved methods?
What is the importance of the exception activity in datastage?
Define meta stage?
What is the use of hoursfromtime() function in transformer stage in datastage?
Whats difference betweeen operational data stage (ods) and data warehouse?
tell me 5 situations when we r using oracle db stages like orecle connector, oracle enterprise