BookmarkSubscribeRSS Feed
wajmsu
Obsidian | Level 7

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

2 REPLIES 2
Reeza
Super User

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...

SASKiwi
PROC Star

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. 

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 985 views
  • 1 like
  • 3 in conversation