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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

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
  • 833 views
  • 1 like
  • 3 in conversation