Indicates whether SAS should wait for a locked record
Language element: |
data set option
|
Default: |
NO
|
Engines: |
CONCUR
|
Valid as: |
data set option
|
OpenVMS specifics: |
All aspects are host-specific
|
- YES
- tells OpenVMS RMS
to wait when it is requesting access to locked records. If you specify LOCKWAIT=YES, OpenVMS RMS
waits forever. Even if LOCKREAD=NO is
in effect, the record is not read.
- NO
- tells OpenVMS RMS
not to wait for a locked record to become available. If a record is locked
and LOCKREAD=NO is in effect, the SAS
System reads the record anyway. This can result in obsolete data being read.
If LOCKREAD=YES is in effect, the I/O request
fails.
- n
- tells OpenVMS RMS
to wait for n seconds for a locked record. If
the record becomes available within n seconds,
the record is read. If the record does not become available and LOCKREAD=YES is
in effect, the I/O request fails. If
the record does not become available and LOCKREAD=NO is
in effect, the record is read even though it is locked. Note, however, that
you may read obsolete data in this case. The value of n
can range from 1 to 255.
The LOCKWAIT= data set option indicates whether OpenVMS RMS
should wait when requesting access to locked records for read, write, or update
access. It is used in conjunction with the LOCKREAD= data
set option.
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.