I have a file like this
ACCT_NO CUST_ID
0001 aaaa
0001 bbbb
0002 cccc
0002 ddd
0003 fff
0003 eee
0003 ggg
. .
. .
. .
0003 n
I need a output like this.
Acct_no Cust_id
0001 aaaa+bbbb
0002 cccc+ddd
0003 fff+eee+ggg......+n
How to achive this result?.
help needed on rows to column
Moderators: chulett, rschirm, roy
Sort input data by grouping columns, use stage variables in Transformer stage to build result row, output to Aggregator grouping by group-by columns with LAST action on all other columns, output to Sequential file resultant rows.
Kenneth Bland
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle