Split from copy stage to 2(sort the data using hash partitioning on col 1)use 1st row generator order by col1 in and generate a keyuse 2nd row generator order by col1 desc and generate a key.Join the data and pass appropriate columns.Thats it! Cheers!
Thanks For Sharing this article. It's very usefull to all datastage developers.Keep sharing. For some more Datastage scenarios.
Split from copy stage to 2(sort the data using hash partitioning on col 1)
ReplyDeleteuse 1st row generator order by col1 in and generate a key
use 2nd row generator order by col1 desc and generate a key.
Join the data and pass appropriate columns.
Thats it! Cheers!
Thanks For Sharing this article. It's very usefull to all datastage developers.
ReplyDeleteKeep sharing. For some more Datastage scenarios.