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
SAS Super FREQ
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
SAS Super FREQ
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
SAS Super FREQ
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

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 1565 views
  • 1 like
  • 2 in conversation