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

eno ename
1 qaz
1 wsx
1 edc
2 zxc
2 asd
3 qwe
3 wer
3 tru
4 rgj

Output:

eno ename count
1 qaz,wsx,edc 3
2 zxc,asd 2
3 qwe,wer,tru 3
4 rgj 1

I want the above output to be solved by DataStage as well and I have to write SQL query for the same output.

Answer Posted / himanshu jain

you can achieve this with AGGREGATOR and PIVOT ENTERPRISE stage in DATASTAGE Designer. First get count by using AGGREGATOR stage and then do Pivoting.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How will you load you daily/monthly jobs datas in to Fact and Dimension table using datastage.

3412


What is a merge?

1075


What is the sortmerge collector?

1077


What are the steps needed to create a simple basic datastage job?

1157


Describe routines in datastage? Enlist various types of routines.

954


What are the various kinds of containers available in datastage?

973


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

1081


disign the complex job in u r project?(they are aksing only complex job design and then data flow...)

2405


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

2404


Differentiate between odbc and drs stage?

995


How can we improve the performance in datastage?

1059


What is difference between join, merge and lookup stage?

1035


if we using two sources having same meta data and how to check the data in two sources is same or not? and if the data is not same i want to abort the job ?how we can do this?

2168


What is ibm datastage?

914


How do y read Sequential file from job control?

15794