11-14-2016 08:44 PM
It should be fairly simple. I have my SAS/Studio share area in ~/Documents/SAS/SASUniversity Edition/myfolders/. There is a file test.csv there now. To reference that:
filename test '/folders/myfolders/test.csv'; data _null_; infile test; input; put _infile_; run;
data _null_; infile '/folders/myfolders/test.csv'; input; put _infile_; run;
This is assuming that you're using VirtualBox, which sets up the environment with '/folders' as the parent pathname.
11-16-2016 05:13 PM
Note the the csv file name will be case sensitive. So if you file was named 'This is My file.csv' and you reference it in the filename code as 'This is my file.csv' then the name doesn't match and won't be found. Tricky can be spaces in the file name where it gets to be hard to tell one or two spaces. Some of you system file tools may let you copy the text of the name for pasting but the folder location does have to be one that the virtual machine has access too.