rows to colums using 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
ramsdanda
Participant
Posts: 8
Joined: Thu Feb 09, 2006 2:23 am

rows to colums using pivot stage

Post by ramsdanda »

Hi ,

Anybody help me regsrding Pivot stage , my requrement like this i need to interchnage rows to coloums.

Ex: input is like A, Card1,100
A,Card2,200
A,Card3,300

My out should be like this A,Card1,Card2,Card3
100, 200, 300 (data) can u please help me how implement logic using pivot stage . plese treat it as very urgent.

Thanks&Regards
Ramesh
rasi
Participant
Posts: 464
Joined: Fri Oct 25, 2002 1:33 am
Location: Australia, Sydney

Post by rasi »

First do a search on the forum for Pivot....

For Urgent you need to hire consultant immediately...In DSXchange urgent = ignore
Regards
Siva

Listening to the Learned

"The most precious wealth is the wealth acquired by the ear Indeed, of all wealth that wealth is the crown." - Thirukural By Thiruvalluvar
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

This cannot be acheived by PIVOT stage. But by search.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

A good search topic would be vertical pivot. Several techniques exist.
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