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.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.
Lock in the best rate now before the price increases on April 1.
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.