Chapter Contents |
Previous |
Next |
SAS/SHARE User's Guide |
There are two ways that a data object can be locked:
Regardless of the type of lock that is attempted, in order to lock a selected data object, the server must lock preceding levels of the hierarchy, as needed. This type of lock is also referred to as an implicit lock.
When you specify a data object in a LOCK statement, you set an explicit lock on that object. If you lock a lower-level object without explicitly locking the higher level or levels, SAS locks the higher level (or levels) automatically.
For example, when you explicitly lock a SAS data set (lower-level lock) but not the SAS data library (higher-level lock) that contains it, the data library is locked implicitly. An implicit lock gives you and other users shared access to the data library, even though you have exclusive access to the locked data set.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.