I am using macro loop to read in csv files(huge count), and have used "nonotes nomlogic" to hide log.
BUT still each file read-in shows up "xxx rows created into dataset from csv_file_location".
How to hide this log line? Thanks,
Find out what is writing that line. Perhaps your macro has a %PUT statement?
Or perhaps you used PROC IMPORT to read the CSV files.
Note that PROC IMPORT has to GUESS how to read the file. And if you are reading many files one by one it will make different guesses for each file. So if the files have a known fixed structure then remove PROC IMPORT and just write the data step yourself. Also if they all have the same structure you can probably read them all with a single data step without any macro code at all.
Find out what is writing that line. Perhaps your macro has a %PUT statement?
Or perhaps you used PROC IMPORT to read the CSV files.
Note that PROC IMPORT has to GUESS how to read the file. And if you are reading many files one by one it will make different guesses for each file. So if the files have a known fixed structure then remove PROC IMPORT and just write the data step yourself. Also if they all have the same structure you can probably read them all with a single data step without any macro code at all.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.