Chapter Contents

Previous

Next
SORTCUT

SORTCUT



Specifies the number of observations above which the host sort program is used instead of the SAS sort program

Default: 0
Valid in: configuration file, SAS invocation, SASV8_OPTIONS environment variable, OPTIONS statement
UNIX specifics: all


Syntax

Syntax

SORTCUT=n|nK|nM|nG|MIN|MAX
-SORTCUT n|nK|nM|nG|MIN|MAX

n|nK|nM|nG
specifies the number of observations in multiples of 1; 1,024 (kilobytes); 1,048,576 (megabytes); and 1,073,741,824 (gigabytes), respectively. For example, a value of 8 specifies 8 observations and a value of 3M specifies 3,145,728 observations.

MIN
specifies 0 observations.

MAX
specifies 2,147,483,647 observations. On 64-bit systems, MAX is 9,007,199,254,740,992.

hexX
specifies the number of observations in hexadecimal notation. For example, 2DX specifies 45 observations.

When you specify SORTPGM=BEST, SAS uses the value of the SORTCUT and SORTCUTP options to determine whether to use the host sort or the SAS System sort. If the number of observations in the data set is greater than the number that you specify with SORTCUT, the host sort will be used. If both SORTCUT and SORTCUTP are either not defined or are set to 0, the SAS System sort is used. If you specify both options and either condition is true, SAS chooses the host sort.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.