Hi,
I installed virtualbox in my Mac to create a virtual machine. Then I installed SAS 9.4 in my virtual machine. I have created a shared folder where virtual machine can share the files in my host computer (Mac)
The directory of shared folder (I see from my virtual machine : \\VBOXSVR\Documents.
I put my SAS data file (food.dat) in this shared folder
I ran the following program
DATA one;
INFILE "\\VBOXSVR\Documents\food.dat";
RUN;
Then Error message happened
physical file does not exist \\VBOXSVR\Documents\food.dat.
How to resolve the issue?
I don't speak Mac, but that looks like a relative path, which would be from where SAS executes. Give it fill full path from the root of the VM file structure.
If this is the University Edition then it is also wanting UNIX syntax and all date must be subordinate to the myfolders folder to be seen.
not university edition. It is just regular SAS
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.
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.