BookmarkSubscribeRSS Feed
VD
Calcite | Level 5 VD
Calcite | Level 5

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.

1 REPLY 1
AncaTilea
Pyrite | Level 9

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

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1433 views
  • 0 likes
  • 2 in conversation