Previous Page | Next Page

System Options under UNIX

BUFNO System Option: UNIX



Specifies the number of buffers to be allocated for processing a SAS data set.
Default: 1
Valid in: configuration file, SAS invocation, OPTIONS statement, SAS System Options window, SASV9_OPTIONS environment variable
Category: Files: SAS Files
PROC OPTIONS GROUP= SASFILES, PERFORMANCE
UNIX specifics: default value
See: BUFNO System Option in SAS Language Reference: Dictionary

Syntax
Details

Syntax

-BUFNO n | nK | nM| nG | hexX | MIN | MAX
BUFNO=n | nK | nM| nG| hexX | MIN | MAX

n | nK | nM | nG

specifies the number of buffers in multiples of 1 (bytes); 1,024 (kilobytes); 1,048,576 (megabytes); or 1,073,741,824 (gigabytes). You can specify decimal values for the number of kilobytes, megabytes, or gigabytes. For example, a value of 8 specifies 8 buffers, a value of .782k specifies 801 buffers, and a value of 3m specifies 3,145,728 buffers.

hexX

specifies the number of buffers as a hexadecimal value. You must specify the value beginning with a number (0-9), followed by hexadecimal characters (0-9, A-F), and then followed by an X. For example, 2dx specifies 45 buffers.

MIN

sets the number of buffers to 0, and requires SAS to use the default value of 1.

MAX

sets the number of buffers to 2,147,483,647.


Details

The number of buffers is not a permanent attribute of the data set; it is valid only for the current SAS session or job.

BUFNO= applies to SAS data sets that are opened for input, output, or update.

Using BUFNO= can improve execution time by limiting the number of input/output operations that are required for a particular SAS data set. The improvement in execution time, however, comes at the expense of increased memory consumption.

Under UNIX, the maximum number of buffers that you can allocate is determined by the amount of memory available.

Previous Page | Next Page | Top of Page