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.
Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.
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.