BookmarkSubscribeRSS Feed
SunilP_sas
Calcite | Level 5

Hi friends,

 

Myself Sunil, started learning sas recently. I am trying to create permanent sas library in Windows 7.

Path: D:\Sunil_P

libname data_set v9 'D:\Sunil_P\'; But I am getting warning message "NOTE: Library DATA_SET does not exist."

Could you please help how to create permanent library. So that I can access dataset that stored in this library anytime.
3 REPLIES 3
Kurt_Bremser
Super User

What type of SAS installation are you using?

- SAS University Edition?

- SAS On Demand?

- Local with DMS?

- Local with Enterprise Guide?

- Remote (on a server) with Enterprise Guide or SAS Studio?

 

Also provide the relevant log from the execution of the libname statement.

ChrisNZ
Tourmaline | Level 20

Does the directory D:\Sunil_P exist?

kthenaj
Fluorite | Level 6

Like Chris_NewZealand asked, are you sure D:\Sunil_P\ is a physical location on your computer? 

 

One way to find the exact syntax of an existing location on your computer is to locate the folder/location you want to store your SAS data set(s) on your computer. Right click on a file that already exists in this folder. Then, click on "Properties." Copy the path that is listed after "Location:". Paste this path between the quotes of your libname statement, replacing "D:\Sunil_P\"

 

Hope that helps.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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
  • 857 views
  • 0 likes
  • 4 in conversation