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?

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register 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
  • 748 views
  • 2 likes
  • 3 in conversation