Hello, I'm trying to read a data set, I've looked at similar threads but exhausted all of them and the problem persists. I'm using SAS university (virtual machine), below are the Server files/folders, the code I'm trying to run, and the log with the error.
try libname wrk '/folders/myfolders/wrk';
It worked, thanks. It's kind of annoying that the path changes when using SAS on a windows pc as opposed to the virtual machine. When on the pc, I didn't have to include the last folder.
@Fede7 wrote:
It worked, thanks. It's kind of annoying that the path changes when using SAS on a windows pc as opposed to the virtual machine. When on the pc, I didn't have to include the last folder.
The paths don't change in that way. The PREFIX changes not any SUFFIX. If the file is actually in the a sub-folder named wrk then you need to include wrk as the last sub-directory in the path in both the virtual machine and the host machine.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.
Find more tutorials on the SAS Users YouTube channel.