Desktop productivity for business analysts and programmers

ERROR: Physical file does not exist?

Reply
New Contributor
Posts: 3

ERROR: Physical file does not exist?

I am trying to make use of the data that is available for practice on the SAS server, but I keep getting this error: physical file does not exist. Obviously, the file does exist I can see it in the folder... that leads me to believe that it is the path...

Here is what I have:

*SAS Program to read veggie data file and to produce several reports;

options nocenter nonumber;

     data veg;

          infile "c:\books\learning\veggies.txt";

          input Name $ Code $ Days Number Price;

          CostPerSeed = Price / Number;

run;

I know the above path in bold needs to be changed to avoid this error, but I am not exactly sure to do since this is on a SASapp server.

Any help would be appreciate. s

DM

New Contributor
Posts: 3

Re: ERROR: Physical file does not exist?

The path as I see it is as follows:

ServersSASApp\Files\Bookdata\Learning_SAS_by_example\veggie.txt

Can anyone verify?

Contributor
Posts: 73

Re: ERROR: Physical file does not exist?

On our setups, we went from PC Base SAS 9.2 to Server based EG 4.3 and had to apply the full path name. I'm not sure if you are in the same boat.

1. We needed to change the properties of the C: drive -> Sharing Tab -> Share Name (and renamed it to C$)

Instead of "c:\books\learning\veggies.txt"; we then had to tweak it to the following "\\your_pc_name\C$\books\learning\veggies.txt" - this was so the server could recognize the pc and the drive where the file resides.

Hope this at least helps get you going.

New Contributor
Posts: 3

Re: ERROR: Physical file does not exist?

Thanks Robby...

Ask a Question
Discussion stats
  • 3 replies
  • 3638 views
  • 0 likes
  • 2 in conversation