Desktop productivity for business analysts and programmers

Error while reading data from External File

Accepted Solution Solved
Reply
N/A
Posts: 1
Accepted Solution

Error while reading data from External File

Hi,

I am trying to read data from an external file which is located on my local machine but I am getting this error "ERROR: Physical file does not exist, /sso/biconfig/930/Lev1/SASApp/C:/Users/Shubham/Desktop/SasData.txt." The actual path of my file is C:/Users/Shubham/Desktop/SasData.txt. I don't know why it's adding /sso/biconfig/930/Lev1/SASApp/ before the file name.

I am using SAS Enterprise On Demand edition.

My program is:

-------------------------

data abcdef;

infile 'C:/Users/Shubham/Desktop/SasData.txt';

input Name$ UIN Score1 Score2;

run;

I will highly appreciate any help.

Thanks,

S


Accepted Solutions
Solution
‎11-12-2013 03:17 PM
Grand Advisor
Posts: 17,411

Re: Error while reading data from External File

OnDemand doesn't see your desktop.

I'm not sure you can import files from desktop to OnDemand, and if you can I imagine you'd have to FTP the file to their server first somehow.

View solution in original post


All Replies
Solution
‎11-12-2013 03:17 PM
Grand Advisor
Posts: 17,411

Re: Error while reading data from External File

OnDemand doesn't see your desktop.

I'm not sure you can import files from desktop to OnDemand, and if you can I imagine you'd have to FTP the file to their server first somehow.

Community Manager
Posts: 2,697

Re: Error while reading data from External File

When using SAS OnDemand for Professionals, this primer video might help:

Defining a File Reference to Access Raw Data - YouTube

If using SAS OnDemand for Academics, the same ideas apply.  However, you might have files on the server that are already put in place by your professor.

Chris

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

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