BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Fede7
Calcite | Level 5

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.

 

sas1.pngsas2.pngsas3.png

1 ACCEPTED SOLUTION

Accepted Solutions
VDD
Ammonite | Level 13 VDD
Ammonite | Level 13

try libname wrk '/folders/myfolders/wrk';

 

View solution in original post

3 REPLIES 3
VDD
Ammonite | Level 13 VDD
Ammonite | Level 13

try libname wrk '/folders/myfolders/wrk';

 

Fede7
Calcite | Level 5

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.

Tom
Super User Tom
Super User

@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.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to connect to databases in SAS Viya

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.

Discussion stats
  • 3 replies
  • 9765 views
  • 2 likes
  • 3 in conversation