All, I am new to datstage and working on 8.1 version of it. I have a requirement where my aggregator stage outputs the data in the form of
Col1 Col2
ABC 21
xyz 52
pqr 94
opq 36
please suggest me in converting above rows in to columns like below
ABC xyz pqr opq
21 52 94 36
Vertical pivot or convert rows to columns
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 15
- Joined: Mon Apr 23, 2012 12:28 pm
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Search DSXchange for "vertical pivot"to get details of techniques. The most usual technique in parallel jobs involves Transformer and Remove Duplicates stage (given that you're on version 8.1).
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.