As the first step in the decommissioning of sasCommunity.org the site has been converted to read-only mode.


Here are some tips for How to share your SAS knowledge with your professional network.


Tips Talk:Using the LOCK Statement for Exclusive Use of a SAS Data Set

From sasCommunity
Jump to: navigation, search

This seems to be specific to SAS/SHARE. If that is the case, the tip should probably state that. --Don Henderson 15:01, 5 June 2009 (UTC)


Good tip. Actually LOCK is a BASE statement. Although there is increased functionality with SAS/SHARE, LOCK can be used to simulate some of the SAS/SHARE environment while saving $ :-). --Art Carpenter 19:40, 11 June 2009 (UTC)


Added SAS syntax highlighting and used <div> tags to use less vertical space. Also added comment that LOCK is a Base SAS statement. Added category tags. Good tip - I learned something new from this one ;-). --Don Henderson 20:46, 11 June 2009 (UTC)


Tip Ready. --Frankfry 02:38, 16 June 2009 (UTC)


Good tip. I can see uses for it. What happens if the session abends or is canceled before the LOCK ... CLEAR statement is issued? Who or what can unlock the lock? Anyone? Only the userid that originally locked it? --JackHamilton 17:23, 19 June 2010 (UTC)