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 

Develop Code with SAS Studio

Get started using SAS Studio to write, run and debug your SAS programs.

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
  • 1775 views
  • 0 likes
  • 4 in conversation