please provide logic for this

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
vsandu
Participant
Posts: 13
Joined: Mon Aug 09, 2010 3:50 am

please provide logic for this

Post by vsandu »

Hello,
This is My input data
EID ENAME LOC
1111 SUMAN HYD
2222 MURALI DEL
3333 VENKAT CHN
1111 SUMAN BAN
2222 MURALI HYD
3333 VENKAT BAN
1111 SUMAN CHN
2222 MURALI MUM
3333 VENKAT PUN
my out put should be like this
EID ENAME LOC
1111 SUMAN HYD,BAN,CHN
2222 MURALI DEL,HYD,MUM
3333 VENKAT CHN,BAN,PUN

Any one please help me logic for this
Venkat Sandu
vsandu.cg@gmail.com
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Vertical pivot.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
kandyshandy
Participant
Posts: 597
Joined: Fri Apr 29, 2005 6:19 am
Location: Singapore

Post by kandyshandy »

Sort and a vertical pivot. Search here & you will find many..
Kandy
_________________
Try and Try again…You will succeed atlast!!
vsandu
Participant
Posts: 13
Joined: Mon Aug 09, 2010 3:50 am

Post by vsandu »

kandyshandy wrote:Sort and a vertical pivot. Search here & you will find many..
thanks kandyshandy ' for providing logic And is there any logic to do same by using transformer
Venkat Sandu
vsandu.cg@gmail.com
kandyshandy
Participant
Posts: 597
Joined: Fri Apr 29, 2005 6:19 am
Location: Singapore

Post by kandyshandy »

Vertical pivot can be implemented either in a transfomer or in a pivot stage. Search here for vertical pivot.
Kandy
_________________
Try and Try again…You will succeed atlast!!
sreewin7
Participant
Posts: 41
Joined: Tue Sep 14, 2010 8:48 pm

Post by sreewin7 »

If you have idea , how to use pivot in excel it is mostly same like this.

viewtopic.php?t=89442

This link will help you.

Thanks
Sree
Post Reply