Use of Vertical Pivot Stage

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
prasson_ibm
Premium Member
Premium Member
Posts: 536
Joined: Thu Oct 11, 2007 1:48 am
Location: Bangalore

Use of Vertical Pivot Stage

Post by prasson_ibm »

Hi,

I am testing a vertical pivot stage in DS8.5.
I have input like this:-

Code: Select all

"abc","def","jim"
"abc","def","bob"
"abc","def","tom"
And i want output like:-

Code: Select all

"abc","def","jim","bob","tom"
I tried to achieve this result using VPivot stage but i m getting o/p like this:-

Code: Select all

"abc","def","jim","bob","bob"
"abc","def","tom","","tom"
Can anyone tell me whether this can be achieved using Vertical Pivot stage or not.
If yes,how i can derive these values.

Thanks
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Mark the first two columns as "key" columns.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Have you actually read the manual or help for this stage type?
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