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 / eswararao

create one group using column generator and then Using Aggregator stage select max sal,min sal

Is This Answer Correct ?    1 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define Merge?

872


What are the partitioning techniques available in link partitioner?

1753


Define APT_CONFIG in Datastage?

662


How can you write parallel routines in datastage PX?

616


how to abort the job its matain duplicates?

2099






what should be ensure to run the sequence job so that if its get aborted in 10th job before 9job should get succeeded?

953


What is staging variable?

622


Explain Quality stage?

664


explain about citrix scheduling tool in datastage

1808


How do you import and export the datastage jobs?

733


whom do you report?

1502


What are the functionalities of link collector?

623


Explain datastage architecture?

815


What are the different type of jobs in datastage?

602


sed,awk,head

966