Any suggestions on how to use windows file locking to lock SAS programs?
We have two people working on a large SAS program (windows workstations accessing files on a server share). With Word documents and many other documents if one person opens the file the next person to try to open it gets a message saying it is already in use. Any way to have the SAS editor lock the file in a similar fashion?
Personally I find Word's habit of locking a file very annoying.
That page definitely talks about locking individual entries in a catalog.
But you are probably better off implementing a change control process instead. You could use software like subversion or even just RCS. Or you could setup a process were changes are saved to either a different directory or different file name and changes to the production file is only made in a coordinated fashion.
Tom's suggestion of using a change control process is a good one. We use TFS in our organisation and it allows you to lock a program if someone else has checked it out for changing. It also allows more than one person to work on the same program simultaneously and then merge the changes when checking them back in.
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.
Select SAS Training centers are offering in-person courses. View upcoming courses for: