| Data Set Options under OpenVMS |
| Default: | NO |
| Valid in: | DATA step and PROC steps |
| Category: | Observation Control |
| Engines: | CONCUR |
| OpenVMS specifics: | All aspects are host-specific |
| Syntax | |
| Details | |
| See Also |
Syntax |
| LOCKWAIT=YES | NO | n |
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.
tells OpenVMS RMS not to wait for a locked record to become available. If a record is locked and LOCKREAD=NO is in effect, SAS reads the record anyway. This can result in obsolete data being read. If LOCKREAD=YES is in effect, the I/O request fails.
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 can read obsolete data in this case. The value of n can range from 1 to 255.
| Details |
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 with the LOCKREAD= data set option.
| See Also |
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.