BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
6071
Fluorite | Level 6

HI,

I haven't used SAS in awhile, and I'm working with an old program and am receiving a data error.  I couldn't figure out how to add updated data to the current file, so I updated the data in a text file and am now trying to get it to read it in.  Here is the error statement I am receiving along with the code (note:  I starred out the previous data statements I was using).  Thanks for any help you can provide.

ERROR: Physical file does not exist,
/var/lib/sasstudio/studioconfig/D:\inflation.txt.

FILENAME REFFILE '/home/loyola/leggiok/MO_CTM_20100507.csv';

*Filename lrg '/home/loyola/leggiok/large.txt';
Filename lrg 'D:\large.txt';
*Filename gov '/home/loyola/leggiok/govbond.txt';
Filename gov 'D:\govbond1.txt';
*Filename inflate'/home/loyola/leggiok/inflation.txt';
Filename inflate 'D:\inflation.txt';
Filename DCA1 '/home/loyola/leggiok/lzvgk.out';
Filename DCA4 '/home/loyola/leggiok/govbond1.out';
Libname SASDATA '/home/loyola/leggiok/kleggio';

1 ACCEPTED SOLUTION

Accepted Solutions
Patrick
Opal | Level 21

SAS Studio is your CLIENT. You need to upload your data to the SERVER where SAS executes.

See if below instructions can help you how to do so.

https://support.sas.com/ondemand/manuals/UploadingDataUsers.pdf 

View solution in original post

3 REPLIES 3
Patrick
Opal | Level 21

You're accessing SAS with a client like SAS EG and SAS Studio that executes SAS on a SAS Server. 

The paths you're using must be valid on the Server which I assume is Linux. You can't use local Client side paths like D:\inflation.txt

All paths must be accessible by the SAS Server and they must look like the Server "sees" them.

6071
Fluorite | Level 6

Thanks for your feedback.  So the data I have is on a thumb drive.  How do I get it into SAS studio to access it?

Patrick
Opal | Level 21

SAS Studio is your CLIENT. You need to upload your data to the SERVER where SAS executes.

See if below instructions can help you how to do so.

https://support.sas.com/ondemand/manuals/UploadingDataUsers.pdf 

SAS INNOVATE 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

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

View all other training opportunities.

Discussion stats
  • 3 replies
  • 146 views
  • 1 like
  • 2 in conversation