I want to import a csv file as a sas dataset. There may or may not be any observation.
What I wrote is not working at all.
The code i wrote till now is
filename extfile '/home/sm25967/DQ_2/deletion_request.csv'; data x; infile filename=extfile firstobs=2 dlm=',' end=done missover DSD; run;
You have told SAS which file to read, but you have not told it to read anything from the file.
You need to add at least an INPUT statement.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Latest Updates
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.
Browse our catalog!