Desktop productivity for business analysts and programmers

Expore without header !!

Reply
Occasional Contributor
Posts: 6

Expore without header !!

Hello,

Is it possible to export data ( .xls or .csv for example ) without write the header line in the output file ?
SAS Super FREQ
Posts: 8,721

Re: Expore without header !!

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]
Ask a Question
Discussion stats
  • 1 reply
  • 102 views
  • 0 likes
  • 2 in conversation