reverse pivot

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
ds_dwh
Participant
Posts: 39
Joined: Fri May 14, 2010 6:06 am

reverse pivot

Post by ds_dwh »

Hi,
how to do reverse pivot

source:
EID,1stname,Middlename.Lastname
101,sunil,kumar,sharma
102,web,sphere,datastage

my output will be like this:

EID,Name
101,sunil
102,web
101,kumar
102,sphere
101,sharma
102,datastage

please how to this one
ANJI
SURA
Premium Member
Premium Member
Posts: 1229
Joined: Sat Jul 14, 2007 5:16 am
Location: Sydney

Re: reverse pivot

Post by SURA »

I am not sure, but Check the column import stage / pivot stage.

DS User
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Search DSXchange for "vertical pivot" in server jobs. There are at least three ways, all of which have been published here.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply