Hi My I/p is
Id name sal
1 A 1000
2 B 2000
3 C 3000
O/p is
VAL
1
A
1000
2
B
2000
3
C
3000
since I Don't have any key on which basis I can do pivoting.SO how will I configure pivot stage.
Please suggest.
Thanks
Shaonli
Pivot stage issue
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Code: Select all
source ---> Transformer ---> Sequential File
Code: Select all
Id : svLF : name : svLF : sal
The sequential file will have three rows for each row that you write to it.
An alternative approach would be to create a pivot key in an upstream Column Generator stage.
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.