How to Sort data from sequential file?
Moderators: chulett, rschirm, roy
How to Sort data from sequential file?
Sorting data from sequential file.
Ummm.. what is wrong with using a DataStage "Sort" Stage?
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
I like Arnd's answer. If you have a third party sort utility, such as CoSort or SyncSort, then there's also scope for invoking that. If you have a UNIX emulator, such as MKS Toolkit, you could use a UNIX sort command as a filter command in the Sequential File stage itself. You could stick the data into a database table and retrieve them sorted. Lots of ways.
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.
Taral,
that means you didn't look hard enough for it; it is part of the product and should be present.
that means you didn't look hard enough for it; it is part of the product and should be present.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
I mean, the shortcut for the "Sort stage" may be not there (shortcut removed?) in the palette . If it is the case, then one can add it using the "Customize Palette" option.ray.wurlod wrote:It is there, in the Processing folder. Both for server jobs and for parallel jobs. (And mainframe jobs, for what it's worth.) ...