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;
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
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.