DATA Step, Macro, Functions and more

error in the log

Reply
Contributor
Posts: 61

error in the log

Hi,

I am working on a dataset an dit was going fine. Now, as I access my dataset with libname statement and recoding (which was previosuly going fine) I recevie the following error message in log

"A lock is not available for PE.MATCHEDATA_21.DATA". What does it mean?

 

Thanks

Super User
Posts: 19,772

Re: error in the log

Someone/something else is using th dataset and you can't access or overwrite it until they're finished. 

 

See some options in this previous thread

https://communities.sas.com/t5/SAS-Enterprise-Guide/Ways-to-overcome-the-ERROR-A-lock-is-not-availab...

Super User
Posts: 3,252

Re: error in the log

What SAS interface are you using? It is even possible to do this to yourself in EG by having the dataset open in the data viewer while also running a program/task on the same dataset. 

Ask a Question
Discussion stats
  • 2 replies
  • 226 views
  • 1 like
  • 3 in conversation