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;
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.
Ready to level-up your skills? Choose your own adventure.