Can you import a single csv-file using proc import, without using the macro, and get the columnnames?
NOTE: I and many others don't open attached files because of security implications. Please include the first 3 lines of the csv (with only 3 or 4 columns) as code in the post so we can have a look.
Which 11 files? Which ONE of the 11 files is the one that is generating a variable name of SEP= ?
You appear to be using a complex macro code to get the list of files.
If the list is known just type (or copy and paste) the filenames.
If the list is unknown and you need to use DREAD() to find the file names why are you doing it in macro code instead of in a dataset? It is MUCH MUCH MUCH easier to debug normal SAS code than macro code.
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 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.
Ready to level-up your skills? Choose your own adventure.