Previous Page | Next Page

SAS System Options under Windows

FILELOCKWAITMAX= System Option: Windows



Sets an upper limit on the amount of time that SAS will wait for a locked file.
Default: 600
Valid in: configuration file, SAS invocation
Category: Files: SAS Files
PROC OPTIONS GROUP= SASFILES
Windows 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 specify 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.

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 after encountering a locked file. This option is used primarily by a system administrator.


See Also

Previous Page | Next Page | Top of Page