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

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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