I have SAS code that takes multiple Excel tabs and exports each of them into the same directory as .csv files. Using PROC IMPORT each of these csv files are used to create individual SAS datasets via SAS EG.
My question: Once my SAS datasets are created I have no need for these csv files. How would I code my program to delete these csv files?
To answer your original question:
So I understand correct, the Excel file is converted to CSV, then imported to SAS. Now you want to delete the CSV files?
Yes, that is correct.
But I have 12 csv files to delete (in a future run, I will a lot more). How can I efficeintly code this? I have 12 csv files that are named by month of the year (Jan, Feb, etc.).
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.