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

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 / pankaj das, orator

Just take...
source -> aggregate stage -> target

And then in aggregate stage in output tab just specify

col name groupby derivation
------- ------- ----------
id group by id
max_sal max(sal)
min_sal min(sal)
deptno deptno

Is This Answer Correct ?    1 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Demonstrate experience in maintaining quality process standards?

2552


Have you have ever worked in unix environment and why it is useful in datastage?

1133


Why do we use link partitioner and link collector in datastage?

1137


why do u need the IOS upgradation in a FC switch

2282


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

1078


Explain datastage architecture?

1402


How do you import and export data into datastage?

1234


What is developer responsibilities in UAT (user acceptance testing and Post implementation phase?

2106


On which Dimension Table you implemented SCD Type in your Project

2044


What is the difference between validated and compiled in the datastage?

1293


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

1389


what is the use of materialized view?

1571


How can we improve the performance in datastage?

1104


explain about completely flow of sequencers technicaly,without using example??explain about lookup,nullhandling?

2494


What is the purpose of interprocessor stage in server jobs?

2233