ODS output CSV file with a title:

  • Follow


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
0
Reply deniseyu001 (68) 12/2/2009 9:52:35 PM

On 2 d=E9c, 22:52, deniseyu...@GMAIL.COM (SUBSCRIBE SAS-L Dan) wrote:
> Hi. Dear SASLers:

Dan,

For me this is working

data class;set sashelp.class;run;
%let outdt=3Dclass;
%let csvloc=3DD:\temp\;
ods listing close;
ods csvall file=3D"&CSVloc.&outdt..csv"  options(title=3D"yes");
title "here is it";
   proc print  data=3D&outdt NOOBS;
   run;
ods csv  close;
ods listing ;

>
> 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=3D"&CSVloc.&outdt..csv" =A0;
> =A0 =A0proc print =A0data=3D&outdt NOOBS;
> =A0 =A0run;
> ods csv =A0close;
> ods listing ;
>
> Thanks for your help.
>
> Dan

0
Reply andre 12/3/2009 12:53:13 PM


1 Replies
568 Views

(page loaded in 0.059 seconds)

Similiar Articles:













7/30/2012 3:18:12 AM


Reply: