Hello,
I am trying to run a basic libname statement and I keep getting this error:
libname ows "X:\Temp\DRS\project";
NOTE: Writing HTML5(EGHTML) Body file: EGHTML
libname ows "X:\Temp\DRS\project;
NOTE: Library OWS does not exist.
Any ideas? This should be a really simple piece of code to run but it isn't running for some reason
Drives on different machines can have different mappings. This means that the F drive to me, could be the D drive on your computer, it's pretty arbitrary except that C is usually the main drive.
Does your SAS installation have access to this location?
Are you using SAS Studio? EG? Viya or Base?
If Studio, are you using a private installation, SAS University Edition or On Demand for Academics.
I'm guessing you're using a server installation of some kinds which means it's not mapped directly to your drives. The solution differs based on your answers to the questions above.
@marleeakerson wrote:
Hello,
I am trying to run a basic libname statement and I keep getting this error:
libname ows "X:\Temp\DRS\project";
NOTE: Writing HTML5(EGHTML) Body file: EGHTML
libname ows "X:\Temp\DRS\project;
NOTE: Library OWS does not exist.
Any ideas? This should be a really simple piece of code to run but it isn't running for some reason
@marleeakerson wrote:
Hello,
I am trying to run a basic libname statement and I keep getting this error:
libname ows "X:\Temp\DRS\project";
NOTE: Writing HTML5(EGHTML) Body file: EGHTML
libname ows "X:\Temp\DRS\project;
NOTE: Library OWS does not exist.
Any ideas? This should be a really simple piece of code to run but it isn't running for some reason
This means that the sas-session started by Enterprise Guide can't access the x-drive. Most likely, because x is a local or mapped drive not defined on the server on which the the session is running. Talk to your sas admins, they should tell you were to save your stuff.
@olaelsakhawy wrote:
hi all,
I have the same problem with me. However, I am using SAS on demand on MacBook Air.
NOTE: Library PG1 does not exist.
Most likely because you didn't follow the guidelines explaining how to use the libname-statement, but because you have not posted the libname-statement, it is hardly possible to assist further.
this is my libname-statement.
libname pg1 "home/u4768696/sasuser.v94/workshop/p104a04.sas";
On the physical side, a Base SAS library is a directory containing certain files (extensions .sas7bdat, .sas7bvew or .sas7bcat). A file cannot be used as a SAS library(*). A file with a .sas extension is (with almost 100% certainty) a SAS program, which is meant to be opened with the program editor and submitted for execution.
*) certain files can be used as SAS libraries, but with special engines in the LIBNAME statement. Excel files, for instance.
Thank you Cynthia.
This work with me.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
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.