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 Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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