Chapter Contents

Previous

Next
SORTSIZE=

SORTSIZE=



Specifies the amount of memory that is available to the SORT procedure

Language element: system option
Default: 8M
Valid in: configuration file, SAS invocation, OPTIONS statement, Systems Options window, VMS_SAS_OPTIONS DCL symbol
OpenVMS specifics: default


Syntax
Syntax Description
Details
See Also

Syntax

SORTSIZE=n | nK | nM | nG | MIN | MAX | hex X

Syntax Description

n | nK | nM | nG
specifies the amount of memory in bytes, kilobytes, megabytes, and gigabytes, respectively. If n=0, the sort utility uses its default.

MIN
specifies the minimum amount of memory available.

MAX
specifies the maximum amount of memory available.

hex
specifies the amount of memory as a hexadecimal number. This number must be followed by an X, as in hexadecimal-valueX


Details

Generally, the value of the SORTSIZE= system option should be less than the physical memory available to your process. If the SORT procedure needs more memory than you specify, the system creates a temporary utility file.

PERFORMANCE NOTE: Proper specification of SORTSIZE= can improve sort performance by restricting the swapping of memory that is controlled by the operating environment.

For OpenVMS, the default value for SORTSIZE is 8M.

See Also

SORT
SORTSIZE= system option in SAS Language Reference: Dictionary


Chapter Contents

Previous

Next

Top of Page

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