BookmarkSubscribeRSS Feed
rishabhmehra13
Calcite | Level 5

libname r '/folders/myfolders';
proc import datafile='folders/myfolders/Loans.csv'
dbms=csv
out=r.per

replace;
run;

proc print data=r.per;
run;

 

 

 

log

NOTE: Unable to open parameter catalog: SASUSER.PARMS.PARMS.SLIST in update mode. Temporary parameter values will be saved to
WORK.PARMS.PARMS.SLIST.
ERROR: Physical file does not exist, /opt/sasinside/SASConfig/Lev1/SASApp/folders/myfolders/Loans.csv.
ERROR: Import unsuccessful. See SAS Log for details.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE IMPORT used (Total process time):
real time 0.18 seconds
cpu time 0.18 seconds
 
63
 
 
64 proc print data=r.per;
ERROR: File R.PER.DATA does not exist.
65 run;
 
3 REPLIES 3
Ksharp
Super User
You missed '/' . Should be '/folders/myfolders/..........'
Shmuel
Garnet | Level 18

Try change one line:

 

proc import datafile='folders/myshortcuts/myfolders/Loans.csv'

 

ballardw
Super User

Also check the case of name Loans.csv is not the same as loans.csv or Loans.CSV 

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1700 views
  • 0 likes
  • 4 in conversation