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

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