Chapter Contents

Previous

Next
SORTPGM=

SORTPGM=



Specifies the name of the sort utility

Language element: system option
Default: BEST
Valid in: configuration file, SAS invocation, OPTIONS statement, System Options window, VMS_SAS_OPTIONS DCL symbol
OpenVMS specifics: valid values for sort utility; syntax


Syntax
Details
See Also

Syntax

SORTPGM=BEST | HOST | SAS

BEST
specifies the sort utility that is best suited for the data. This is the default.

HOST
specifies the HOST sort utility that is available under OpenVMS. The HOST sort utility may be more suitable than the sort utility supplied by the SAS System for data sets that contain many observations.

SAS
specifies the sort utility to be supplied by the SAS System, which is more efficient for sorting small files than invoking the HOST sort utility.


Details

The SORTPGM= system option specifies the name of the system sort utility to be invoked by the SAS System.

Under OpenVMS, if SORTPGM=BEST and the data set to be sorted contains 50,000 observations or fewer, the SAS sort is used; otherwise, the HOST sort is used. The informational message that describes which sort was used when SORTPGM=BEST is suppressed unless the value of the MSGLEVEL= system option is I (informational).

See Also


Chapter Contents

Previous

Next

Top of Page

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