When using SORT (either DFSORT or SYNCSORT) to select a relatively small sample 
of records by (a) particular key value(s) from a *very large* sequential file, 
when one knows in advance that the "key values" used to select the desired 
sample records are in sorted order in the input file, is there any way to tell 
SORT the following:

"After this key (these keys) in the input file are greater than any key 
selection value I gave you, stop reading the input, because it is sorted by 
this key (these keys) and I know you can't find any more after that point in 
the input file."

The object of telling SORT this is not to read any more input records than is 
absolutely necessary to make the desired selection.  It would be very helpful 
in performance-constrained LPAR's.

Peter

This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to