Your SAS programs, embedded in web apps and elsewhere

Ods rtf document filename

Reply
Frequent Contributor
Frequent Contributor
Posts: 94

Ods rtf document filename

Hello,

I am creating an rtf file using a stored process (without specifying any location on a drive). The default name of the file comes out to be do.doc which I want to change to something more meaningful. Is anyone aware of how to do it? I am using the following settings in the header of the code file:

%if ( &REPORTFORMAT=RTF ) %then %do;

  %let _odsdest=RTF;

%end;

I also use this statement in the body of the code file:

ods rtf style=rtf bodytitle startpage=no nokeepn notoc_data nogfootnote ;

Thanks.

VD.

Super Contributor
Posts: 543

Re: Ods rtf document filename

Since I replied to your other post, you should close at least one of them.

Ask a Question
Discussion stats
  • 1 reply
  • 233 views
  • 0 likes
  • 2 in conversation