Page 1 of 1

it is possible to remove the duplicares using sort stage?

Posted: Tue Mar 06, 2007 11:49 pm
by mallikharjuna
Hi All,

it is possible to remove the duplicates using sort stage in server jobs?

Thanks in Advance
Malli

Posted: Wed Mar 07, 2007 12:14 am
by kumar_s
No.
Not just using Sort stage, but may be using Sort coupled with Transformer and its stage variables.

Re: it is possible to remove the duplicares using sort stage

Posted: Wed Mar 07, 2007 2:46 am
by parag.s.27
mallikharjuna wrote:Hi All,

it is possible to remove the duplicates using sort stage in server jobs?

Thanks in Advance
Malli
If you can use a Hash File, then declare the primary key..and the hash file will take care of it...

But please note that for any duplicate entry, the hash file will retain the last entry in the file...

Posted: Wed Mar 07, 2007 8:02 am
by chulett
Or sort the data then use stage variables... there's a number of different ways. However, the answer to the question as asked is 'no'. :wink:

Posted: Wed Mar 07, 2007 9:38 am
by DSguru2B
This is possible in a px sort stage with unique option selected.

Posted: Wed Mar 07, 2007 10:27 am
by chulett
Who cares? :lol:

Server question posted in the Server forum, so you got a Server answer.

Posted: Wed Mar 07, 2007 10:28 am
by DSguru2B
Well it might be one of those days when you hear that something can be done with a particular stage. But the information was'nt comple as to on what animal. I clarified that :wink:

Posted: Wed Mar 07, 2007 5:29 pm
by kumar_s
chulett wrote:Or sort the data then use stage variables... there's a number of different ways. However, the answer to the question as asked is 'no'. :wink:
It sounds familiar. :wink: