BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
sp41832
Calcite | Level 5

Received the error saying Library SAS_Data does not exist.

Iam using SAS studio and a Oracle VM virtual box. 

Stuck with this since an hour, kindly help.

 

I have my data in U drive under folder SAS_data
1 ACCEPTED SOLUTION

Accepted Solutions
Cynthia_sas
Diamond | Level 26
Hi:

Here are some previous postings that outline how it works.
LIBNAME statement on Univ Edition:
https://communities.sas.com/t5/SAS-Analytics-U/Practice-datasets/m-p/148714#M412#216397
https://communities.sas.com/t5/SAS-Analytics-U/Absolute-beginner-watching-youtube-videos/m-p/149371#...
https://communities.sas.com/t5/General-SAS-Programming/Create-library/td-p/177530
https://communities.sas.com/message/258050#258050

Please read the postings. Your libname statement will NOT work. To read from your shared folder location, you MUST use

libname sas_data '/folders/myfolders/folder_name';

where you actually create a folder name in the shared folder location and you MOVE your data to that location. A location of /SAS is not valid for the University Edition.

cynthia

View solution in original post

3 REPLIES 3
Cynthia_sas
Diamond | Level 26
Hi:
You CANNOT use a local drive location. SAS in the Virtual Machine cannot see your U: drive.

Did you set up a shared folders location? In the installation instructions, you were asked to set up a shared folder location and/or also set up folder shortcuts. The way you access data will depend on which one of these methods you choose. But, your LIBNAME statement for the University Edition will typically always be something like this:
libname sas_data '/folders/myfolders/.....';
where the ..... indicates the rest of the path in either the shared folder location or the shortcut location.

Here are some previous postings that outline how it works.
LIBNAME statement on Univ Edition:
https://communities.sas.com/t5/SAS-Analytics-U/Practice-datasets/m-p/148714#M412#216397
https://communities.sas.com/t5/SAS-Analytics-U/Absolute-beginner-watching-youtube-videos/m-p/149371#...
https://communities.sas.com/t5/General-SAS-Programming/Create-library/td-p/177530
https://communities.sas.com/message/258050#258050

cynthia
sp41832
Calcite | Level 5
Hi,

I have set up the shared folder location in VM box to
"C:\Users\Sailesh\Desktop\SAS" and set Auto-mount and Make Permanent
options.

MY new code to set libname is libname sas_data '/SAS';


Receiving below error:
ERROR: The path /SAS is not in the list of accessible paths when SAS is in
the lockdown state.
ERROR: Error in the LIBNAME statement.


##- Please type your reply above this line. Simple formatting, no
attachments. -##
Cynthia_sas
Diamond | Level 26
Hi:

Here are some previous postings that outline how it works.
LIBNAME statement on Univ Edition:
https://communities.sas.com/t5/SAS-Analytics-U/Practice-datasets/m-p/148714#M412#216397
https://communities.sas.com/t5/SAS-Analytics-U/Absolute-beginner-watching-youtube-videos/m-p/149371#...
https://communities.sas.com/t5/General-SAS-Programming/Create-library/td-p/177530
https://communities.sas.com/message/258050#258050

Please read the postings. Your libname statement will NOT work. To read from your shared folder location, you MUST use

libname sas_data '/folders/myfolders/folder_name';

where you actually create a folder name in the shared folder location and you MOVE your data to that location. A location of /SAS is not valid for the University Edition.

cynthia

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 3 replies
  • 2472 views
  • 1 like
  • 2 in conversation