SAS 9.1 Companion For Unix Enivronments

ALTER= Data Set Option

Assigns an alter password to a SAS file and enables access to a password-protected SAS file

Default: none

Valid in: DATA step and PROC steps

Category: Data Set Control

Engines: V9, V8, V7, V6

UNIX specifics: TAPE engines ignore the alter-password

See: ALTER= Data Set Option in SAS Language Reference: Dictionary

Syntax

ALTER= alter-password

alter-password

Details

The ALTER= option applies to all types of SAS files except catalogs. You can use this option to assign an alter-password to a SAS file or to access a read-protected, write-protected, or alter-protected SAS file.

Note  

Under UNIX, TAPE engines ignore the alter-password .

BUFNO= Data Set Option

Specifies the number of buffers to be allocated for processing a SAS data set

Default: 1

Valid in: DATA step and PROC steps

Category: Data Set Control

Engines: V9, V8, V7, V6, V9TAPE, V8TAPE, V7TAPE, V6TAPE

UNIX specifics: default value

See: BUFNO= Data Set Option in SAS Language Reference: Dictionary

Syntax

BUFNO= n n K hex X MIN MAX

n nK

hexX

MIN

MAX

Details

The buffer number 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.

See Also

BUFSIZE= Data Set Option

Specifies the permanent buffer page size for an output SAS data set

Default:

Valid in: DATA step and PROC steps

Category: Data Set Control

Engines: V9, V8, V7, V9TAPE, V8TAPE, V7TAPE, V6TAPE

UNIX specifics: valid range

See: BUFSIZE= Data Set Option in SAS Language Reference: Dictionary

Syntax

BUFSIZE= n n K n M n G hex X MAX

n nK nM nG

hexX

MAX

Details

The BUFSIZE= data set option specifies the buffer size for data sets you are creating. This option is valid only for output data sets.

If you use the default value (0) when you create a SAS data set, the engine calculates a buffer size to optimize CPU and I/O use. This size is the smallest multiple of 8K that can hold 80 observations but is not larger than 64K.

If you specify a nonzero value when you create a SAS data set, the engine uses that value. If that value cannot hold at least one observation or is not a valid buffer size, the engine rounds the value up to a multiple of 1K.

See Also

FILECLOSE= Data Set Option

Specifies how a tape is positioned when a SAS file on the tape is closed

Default: REREAD

Valid in: DATA step and PROC steps

Category: Miscellaneous

Engines: V9TAPE, V8TAPE, V7TAPE, V6TAPE

UNIX specifics: list of valid values

See: FILECLOSE= Data Set Option in SAS Language Reference: Dictionary

Syntax

FILECLOSE= FREE LEAVE REREAD REWIND

FREE

LEAVE

REREAD

REWIND

PW= Data Set Option

Assigns a read, write, or alter password to a SAS file and enables access to password-protected SAS file

Default: none

Valid in: DATA step and PROC steps

Category: Data Set Control

Engines: V9, V8, V7, V6, V9TAPE, V8TAPE, V7TAPE, V6TAPE

UNIX specifics: TAPE engines ignore the alter-password

See: PW= Data Set Option in SAS Language Reference: Dictionary

Syntax

PW= password

password

Details

The PW= option applies to all types of SAS files except catalogs. You can use this option to assign a password to a SAS file or to access a password-protected SAS file.

Note  

Under UNIX, TAPE engines ignore the alter-password .

Категории