How to sort data in Server edition Jobs

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
srao
Premium Member
Premium Member
Posts: 41
Joined: Mon Mar 19, 2007 12:42 pm

How to sort data in Server edition Jobs

Post by srao »

How to sort data in Server edition Jobs

I can see sort stage in Parallal edition for parallal and server jobs

but in server edition , how we are sorting?
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

Sort stage
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
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Sort stage, as Ken suggests, is available in server jobs. But it's slow.

If you have a DOS command line sorter available, it may be preferable to use that, perhaps as the Filter command in a Sequential File stage.

Other possibilities include a UV stage (or any other database stage) - load the data into a table then re-extract the data with an ORDER BY clause - this will be quite fast if you index the sorting column(s). You could also write your own sort routine if you're good at that sort of thing.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply