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.
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';
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
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.
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?
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
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.
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.