The SAS Output Delivery System and reporting techniques

ODS CSV add a title

Accepted Solution Solved
Reply
Contributor
Posts: 58
Accepted Solution

ODS CSV add a title

Hi,

do there is a way to add a title to a csv using produced by the ods instruction?

ods csv file='/tmp/test.csv';

      proc print data=WORK.mydata;

      run;

ods csv close;

Many thanks


Accepted Solutions
Solution
‎09-05-2012 09:24 AM
Contributor
Posts: 58

Re: ODS CSV add a title

I found it.

I add for someone will have the same problem in the future.

ods listing close;

title "this is my title";

title2 "this is my second title";

ods csvall file='/tmp/test.csv';

   proc print data=WORK.a noobs;

   run;

ods csvall close;

ods listing;

View solution in original post


All Replies
Solution
‎09-05-2012 09:24 AM
Contributor
Posts: 58

Re: ODS CSV add a title

I found it.

I add for someone will have the same problem in the future.

ods listing close;

title "this is my title";

title2 "this is my second title";

ods csvall file='/tmp/test.csv';

   proc print data=WORK.a noobs;

   run;

ods csvall close;

ods listing;

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 1 reply
  • 927 views
  • 0 likes
  • 1 in conversation