06-17-2013 11:17 PM
This is a very basic question. I am trying to simply run a program, but each time I got to do this, errors saying that the Library does not exist. This is program I am trying to run
libname Hanoi "D:\PracSas\Hanoi";
vietsight is the sas7bdat file that I want to run and it is saved in the folder Hanoi, which is under PracSas on my flashdrive.
What am I doing wrong?
An error also comes up that there are no variables in the data set.
Any help would be greatly appreciated!
06-18-2013 02:27 AM
I hope the sas is installed on window machine!!!
you will first have to import the dataset into sas window environment, so that sas will be able to recognize the path. I am not sure if there is a plugin for it.
try using a statement "run;" at the end..
06-18-2013 03:52 AM
First, be sure that the library was assigned successfully. You should find a note in the log:
NOTE: Libref Hanoi was successfully assigned as follows:
Physical Name: D:\PracSas\Hanoi
06-18-2013 10:28 AM
There doesnt appear to be anything wrong with your syntax. I would navigate to the folder through windows and copy and paste the folder from the address line on the explorer window. That way you elimiate typos as an issue.