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.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and 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.