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.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.