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?

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

Explore Now →
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
  • 1173 views
  • 2 likes
  • 3 in conversation