Posted: Wed Feb 15, 2006 5:33 am Post subject: Stop after finding the first record
Hi all,
I did a quick search for this and didnt find any topics specificaly for this purpose. I am using a sort step include condition to filter out one particular record. The file may be having more than one occurance of that record but i want the search to terminate after it finds the first match. I am using a huge input reference file. So even after finding the correct record, its taking long time to finish the sort. Is there a way to exit the sort after the first match is found?
The sort step which i am using right now is
Code:
sort fields=copy
include cond=(19,10,ch,eq,c'xxxxxxxxxx')
I am using DFSORT in my site.
Please let me know in case you need any more details.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum