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

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 929 views
  • 0 likes
  • 2 in conversation