SORTPGM System Option: Windows

Specifies whether to use the SAS sort utility or the host sort utility or to let SAS choose the sort utility.

Valid in: configuration file, SAS invocation, OPTIONS statement, SAS System Options window
Category: Sort: Procedure Options
PROC OPTIONS GROUP= SORT
Default: BEST
Windows specifics: all

Syntax

-SORTPGM SAS | BEST | HOST
SORTPGM=SAS | BEST | HOST

Required Arguments

SAS

tells SAS to sort by using the SAS sort routine.

BEST

tells SAS to determine the best sort routine to sort the data: a database sort, the SAS sort, or SyncSort. When SAS determines that the sort is not to be done by the database, SAS looks at the values for both SORTCUT and SORTCUTP. If they both are set to zero, the SAS sort is used. If both options are set and either condition is met, SAS uses the SyncSort routine.

HOST

tells SAS to sort by using SyncSort for Windows.