Discussion:
ODS output CSV file with a title:
(too old to reply)
SUBSCRIBE SAS-L Dan
2009-12-02 21:52:35 UTC
Permalink
Hi. Dear SASLers:

How to out put a csv file through ODS and having a title goes with it?

My sample shell of the program is:

ods csv file="&CSVloc.&outdt..csv" ;
proc print data=&outdt NOOBS;
run;
ods csv close;
ods listing ;

Thanks for your help.

Dan
andre
2009-12-03 12:53:13 UTC
Permalink
Dan,

For me this is working

data class;set sashelp.class;run;
%let outdt=class;
%let csvloc=D:\temp\;
ods listing close;
ods csvall file="&CSVloc.&outdt..csv" options(title="yes");
title "here is it";
proc print data=&outdt NOOBS;
run;
ods csv close;
ods listing ;
Post by SUBSCRIBE SAS-L Dan
How to out put a csv file through ODS and having a title goes with it?
ods csv file="&CSVloc.&outdt..csv"  ;
   proc print  data=&outdt NOOBS;
   run;
ods csv  close;
ods listing ;
Thanks for your help.
Dan
Loading...