BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Kurt_Bremser
Super User

@kz_ wrote:

The error is 

ERROR: Library library_name does not exist 

 

All of the folders have already been created, and the subfolder contains SAS datasets. 


This is the error you get later when you try to use the library. Please copy/paste the complete log of the LIBNAME statement into a window opened with this button:

Bildschirmfoto 2020-04-07 um 08.32.59.jpg

You can mask sensitive parts of the path.

 

Edit: corrected FILENAME to LIBNAME.

kz_
Quartz | Level 8 kz_
Quartz | Level 8
This is actually the error when I try to create the library:

libname name '/name1/name2/name3/name4/name5';
NOTE: Library NAME does not exist.

And when I remove the last subfolder, I get:
NOTE: Libref NAME was successfully assigned as follows:
Engine: V9
Physical Name: /name1/name2/name3/name4
Shmuel
Garnet | Level 18

Why are you using long path like "/folder/subfolder/subfolder2/subfolder3/subfolder4/subfolder5" ?

why not:

  • "/folder/subfolder/subfolder1"
  • "/folder/subfolder/subfolder2"
    etc.
kz_
Quartz | Level 8 kz_
Quartz | Level 8
It's a shared directory - I don't have control over it.
htalbott
Fluorite | Level 6

I am a total SAS newbie, but I'm struggling with this exact problem. I'm in a shared drive, so I have limited ability to shorten the path. So how do I "create a shorter direct link to the subdirectory"?

Reeza
Super User
Show your code, log including the error and please start a new discussion.

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 22 replies
  • 1322 views
  • 6 likes
  • 6 in conversation