BookmarkSubscribeRSS Feed
gemax
Calcite | Level 5
Hello,

Is it possible to export data ( .xls or .csv for example ) without write the header line in the output file ?
1 REPLY 1
Cynthia_sas
Diamond | Level 26
Hi...
Try this Proc Report code. There may be non-code methods in EG, but I don't work with exporting in EG enough to know them.
cynthia [pre]
*** the code;
ods csv file='c:\temp\nohd.csv';
proc report data=sashelp.class noheader nowd;
column name age height;
define name/display;
define age /display;
define height/display;
run;
ods csv close;
[/pre]

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 914 views
  • 0 likes
  • 2 in conversation