BookmarkSubscribeRSS Feed
Jason_SAS
Calcite | Level 5

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?

2 REPLIES 2
ballardw
Super User

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.

Jason_SAS
Calcite | Level 5

not university edition.  It is just regular SAS

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1008 views
  • 0 likes
  • 2 in conversation