BookmarkSubscribeRSS Feed
alepage
Barite | Level 11

Hello,

 

I am using a libname statement and I am getting an error into the log file as the resources is locked

How to deal with that kind of issue ?

 

%let path1= confidential path;
libname DATA        "/&path1/Inforce/data";

 

extract of the log file:

 

ERROR: Unable to clear or re-assign the library DATA because it is still in use.
ERROR: Error in the LIBNAME statement.
DEBUG=CACHE_DISABLE option set.

2 REPLIES 2
SASKiwi
PROC Star

What happens if you try to CLEAR the LIBNAME?

libname data clear;

And then reassign it.

coder1234
Obsidian | Level 7

have you tried clearing the librefs?

A different Lib name besides DATA?

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 665 views
  • 2 likes
  • 3 in conversation