Hi, I am exporting a sas dataset into csv using ods csv file statement and i am getting a complaint that the csv file has a blank row at the bottom. I have searched through the topics and found one which is very similar to my issue but when use that the csv file is created without column headers. I need to display column headers but i couldnt find a way how to do that. any help is appreciated current process below - delta is the SAS table that I am trying to export into csv with headers in it /* export to csv */ %let rundate = %SYSFUNC(today(),YYMMDDN.); %put rundate is &rundate; ods listing close; ods csv file="c\Data_&rundate..csv"; proc print data=delta noobs label; run; ods csv close; But when I do this, recipient says there is a blank row (which I dont see anywhere) at the bottom of the csv file which causes issue on their end. So, I found this topic and solution in the SAS forums but when I use the code below, the csv file that is generated is missing the headers. I need the headers to be in the csv file as well. Thanks in advance.
... View more