- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Posted 07-18-2008 06:36 AM
(2564 views)
Hi All,
I am relatively new to SAS EG and while I was able to use the infile statement in PC SAS, in SAS EG when I use infile and give the path for the file stored on the SAS server in myuser folder. I get an error saying " physical file does not exist" any help towards fixing this is highly appreciated.
I am relatively new to SAS EG and while I was able to use the infile statement in PC SAS, in SAS EG when I use infile and give the path for the file stored on the SAS server in myuser folder. I get an error saying " physical file does not exist" any help towards fixing this is highly appreciated.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
If you are using EG to connect to a remote machine, the INFILE or FILENAME statement must refer to a file that exists on the remote machine. Because the SAS program is running remotely, it cannot pick a file off of your local hard drive, unless you craft the file reference so that it can see your file as a network resource.
For example (assuming a Windows server):
filename myfile "\\mylocalmachine\public\mydata.txt";
Chris
For example (assuming a Windows server):
filename myfile "\\mylocalmachine\public\mydata.txt";
Chris
Register for SAS Innovate 2025!! The premier event for SAS users, May 6-9 in Orlando FL. Sign up now for the best deals!