Can any one suggest me how to split row in to columns through data stage?
E.g
Row:
Column1 Column2 Column3
100 200 300
Into Columns:
Column1 Column2
100 200
Column1 Column3
100 300
Thanks
How to Split Row into columns through Data Stage?
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 83
- Joined: Tue Dec 19, 2006 8:38 am
Hi Wolfgang,WoMaWil wrote:Welcome, there are several ways to do that depending on the kind of sourcefile.
for example Pivot-Stage or Hash Table or or or ....
Start searching in the Forum and if you don't find an answer to your problem, please let us know
By Hash Table do you mean a hash File?If so how can it do the functionality of a Pivot? Can you please explain..
Thanks
George
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Why?
A Pivot stage will do exactly what you require.
With a hashed file, the technique for a horizontal pivot is to load the non-pivoting columns in a value mark delimited dynamic array and to UNNEST that when extracting.
A Pivot stage will do exactly what you require.
With a hashed file, the technique for a horizontal pivot is to load the non-pivoting columns in a value mark delimited dynamic array and to UNNEST that when extracting.
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.
-
- Participant
- Posts: 83
- Joined: Tue Dec 19, 2006 8:38 am
Sorry Ray,ray.wurlod wrote:Why?
A Pivot stage will do exactly what you require.
With a hashed file, the technique for a horizontal pivot is to load the non-pivoting columns in a value mark delimited dynamic array and to U ...
I am not a premium member so i was not able to read your posting fully.
Sure i will be a premium member soon
Thanks
George