I keep getting this error in my Log
ERROR: Output SAS data set must be provided.
Here is my code and the file is attached below
Proc import datafile="C:\Users\yusco\OneDrive\Desktop\STAT 5200 HW9 Data Files\JobPrefix.csv";
dbms=csv
out = HW9.JobPrefix replace;
guessingrows= 100;
run;
You don't want to have a semi-colon at the far right of line 1.
This is what i got after i removed the semi colon
Thank you so much, the problem was really my libname. I found a way to go about it and this is the code that works fine for me now.
libname HW9 "C:\Users\yusco\OneDrive\Desktop\STAT5200\HW9";
filename jobAcct "C:/Users/yusco/OneDrive/Desktop/STAT 5200 HW9 Data Files\jobAcct.csv";
Proc import datafile= jobAcct
dbms=csv
out = HW9.JobAcct replace;
getnames=yes;
run;
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!
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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: