Hi all,
Can i use Link collector alone to to combine the two files (concatenate)
or should link collector and link partitioner go together.
Thank you all,
link collector
Moderators: chulett, rschirm, roy
Just the collector. If all you're trying to do is concatenate exact metadata matching files, just use a Unix cat statement. That's really fast and easy. Using a link collector requires both input links have the exact same metadata, so after your sequential stages you'll want a transformer to adjust the metadata accordingly.
You'll probably need to consider an extra column to identify where the row originated, file 1 or file 2.
You'll probably need to consider an extra column to identify where the row originated, file 1 or file 2.
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
-
- Premium Member
- Posts: 614
- Joined: Fri Feb 06, 2004 3:59 pm
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
If the inputs are Sequential Files with identical metadata you don't need DataStage at all; you can simply use cat to append the contents of the second to the first. If you then need to work on the composite result, use a Sequential File stage to process the result - maybe use a cat command in a filter.
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.
-
- Premium Member
- Posts: 614
- Joined: Fri Feb 06, 2004 3:59 pm