Hi Required a solvation for the rule.

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
deesh
Participant
Posts: 193
Joined: Mon Oct 08, 2007 2:57 am

Hi Required a solvation for the rule.

Post by deesh »

Hi,

I have data like:
xx,yy
1,z
1,y
2,x
2,w
My required output looks like:
xx,zz
1,z|y
2,x|w

can any help me out how to solve the above rule
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Vertical pivot then combine the non-key columns into one pipe-delimited column.
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