Previous Page | Next Page

System Options under UNIX

FILELOCKWAITMAX= System Option: UNIX



Sets an upper limit on the time SAS will wait for a locked file.
Default: 600
Valid in: configuration file, SAS invocation
Category: Files: SAS Files
PROC OPTIONS GROUP= SASFILES
UNIX specifics: all

Syntax
Details
See Also

Syntax

FILELOCKWAITMAX = wait-time

wait-time

specifies the amount of time, in seconds, that SAS will wait for a locked file to become available.

Interaction: Specifying the FILELOCKWAITMAX= system option can have an adverse effect on one or more SAS/SHARE server and client sessions that are waiting for the release of a SAS file that is locked by another process. One or more wait conditions could lead to failed processes for a SAS/SHARE server and clients.

To prevent the possibility of a failed SAS/SHARE process, you can set FILELOCKWAITMAX=0, which cancels the amount of time that a SAS/SHARE server and clients would wait for the release of a locked file. Canceling the wait time would prevent a failed process. For more information, see the LIBNAME statement option FILELOCKWAIT=.

Range: 0-600
Default: 600

Details

The FILELOCKWAITMAX= system option enables you to limit or turn off the amount of time SAS will wait for a locked file. SAS uses the FILELOCKWAIT= LIBNAME option to wait for the file to become available. Using the FILELOCKWAITMAX= system option, an administrator can limit or turn off this behavior. Normally, SAS returns an error if the file it attempts to access is locked. If you set FILELOCKWAITMAX= to 0, SAS fails immediately upon encountering a locked file. This option is used primarily by a system administrator.

For more information about the FILELOCKWAIT= option in the LIBNAME statement, see the LIBNAME Statement: UNIX.


See Also

System Option:

FILELOCKS System Option: UNIX

Previous Page | Next Page | Top of Page