vertical pivot stage in Datastage 9.1
Posted: Tue Nov 26, 2013 1:36 pm
Hello Everyone,
I am not sure how to use for vertical pivot stage?
In vertical pivot stage there is group by and pivot option.......I am not sure how to use it exactly in this case ?
Please guide me ?
Code: Select all
Input
----------------------------
ST_ID CT_YS CT_ID
------------------------------
1 XY1 100
1 ZX1 200
1 YZ1 400
1 YZ1 300
1 YZ1 100
Expected Output
-------------------------------
ST_ID XY_ID ZX_ID YZ_ID
------------------------------------------------------------
1 100 200 400
1 100 200 300
1 100 200 100
In vertical pivot stage there is group by and pivot option.......I am not sure how to use it exactly in this case ?
Please guide me ?