08-17-2015 10:59 AM
Dear SAS Community,
Installed SAS Studio ( University edition) on Windows10 Home using Virtual Box ( Windows 8.1 and VMWware also had the same issue, so tried Windows 10 and Virtual Box)
Can't seem to get past the LIBRARY 'NIS" does not exist error despite using all the suggested methods.
nis is the name of the library I want to create.
1) Created the nis folder as a subfolder in the 'myfolders' section ( made sure Virtual Box has the path to the shared folders)
2.Libname command had the path to the lib in the myfolders section using the forward slash for the Unix environment
3.Still can't get through it
Here is what is happening
Using a SAS Load program for NIS data analyses to cover a existing ASCI file to SAS file
Entering the libname command as follows ---> libname nis 'C:/Users/username/Desktop/SASUniversityEdition/myfolders';
*** Data Step to load the file ***;
INFILE 'C:/Users/username/Desktop/SASUniversityEdition/myfoldersxyz_file.ASC' LRECL = 64;
ERROR: Library NIS does not exist.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: DATA statement used (Total process time):
real time 0.01 seconds
cpu time 0.03 seconds
The Library NIS shows up in the left hand window pane of " My Libraries" but when I right click on the properties it shows up as "The selected library is not valid".
Background- My harddrive is divided into C, D, E, G
C- Shared folder location
E- Location of SAS Vapp file
E- Location of Virtualbox program
Are the different locations on the local computer contributing to the problem?y does
Please help me . Thanks
08-17-2015 01:57 PM
Hi, smummadi. It appears that your are referencing your libname using its Windows path.
Instead, please try using the path to your myfolders area using the path as seen by your SAS University Edition virtual machine.
The easiest way to do this is to right-click on "myfolders" and then select Properties from the menu. The path you see there will be the one you want to use in your libname statement.
Here is a good document to help you:
Let us know if this works for you!
08-17-2015 02:03 PM
Thanks for your answer.
A quick clarification - Do you mean right click on the myfolders in the left hand navigation pane of the SAS Studio Session?
Thank you so much!
I will try and let you know as soon as I can.
Need further help from the community? Please ask a new question.