Sort Stage

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
Prashantoncyber
Participant
Posts: 108
Joined: Wed Jul 28, 2004 7:15 am

Sort Stage

Post by Prashantoncyber »

Hi all,

In sort Stage->Properties->Sorting keys

Wht is the meaning of Don't sort(Previously Grouped)?

Is it to do with Data Partitioning or Group by at SQL level?

Can any body explain how to use it?

Thanks
Prashant
vbeeram
Participant
Posts: 63
Joined: Fri Apr 09, 2004 9:40 pm
Contact:

sort mode

Post by vbeeram »

Hi,

If the input records already sorted by this column set SORT MODE=Don't sort, if records are not sorted already on this column use SORT MODE=Sort


Regards
Beeram
Prashantoncyber
Participant
Posts: 108
Joined: Wed Jul 28, 2004 7:15 am

Post by Prashantoncyber »

Hi Beeram,

This is an answere to Don't Sort(Previously Sorted) option.
I am looking for an ans to Don't Sort(Previously Grouped) option.

Thanks
Prashant
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Even so, it's the same answer as the one Beeram gave.

If you think about it, the only efficient way that grouping can be achieved is by sorting, then detecting change.

The difference between "don't sort (previously sorted)" and "don't sort (previously grouped)" is, therefore, primarily about documenting the reason for not re-sorting the data stream, or at least that column in the data stream.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Prashantoncyber
Participant
Posts: 108
Joined: Wed Jul 28, 2004 7:15 am

Post by Prashantoncyber »

Thanks Ray
Post Reply