Chapter Contents |
Previous |
Next |
SORTSIZE |
Default: | 2,097,152 bytes |
Valid in: | configuration file, SAS invocation, OPTIONS statement, SAS System Options window |
Windows specifics: | Default value |
Syntax | |
Details | |
See Also |
Syntax |
-SORTSIZE n | nK | nM | | nG | | hexX | MAX | MIN |
Details |
By default, this option is set to 2 megabytes. The SORTSIZE system option can reduce the amount of swapping the SAS System must do to sort the data set. If PROC SORT needs more memory than you specify, it creates a temporary utility file in your SASWORK directory in which to store the data. The SORT procedure's algorithm can swap unneeded data more efficiently than Windows can.
A value of 2M is optimal for all memory configurations. If your machine has more than 12 MB of physical memory and you are sorting large data sets, setting this option to a value between 2 MB and 8 MB may improve performance.
See Also |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.