BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
japelin
Rhodochrosite | Level 12

I don't want to start Word in below code.

ods rtf;
proc print data=sashelp.class;
run;
ods rtf close;

How to suppress starting WORD in ods close?

1 ACCEPTED SOLUTION

Accepted Solutions
andreas_lds
Jade | Level 19

Are you using SAS Enterprise Guide?

You have to disable the option that automatically opens results.

View solution in original post

4 REPLIES 4
andreas_lds
Jade | Level 19

Are you using SAS Enterprise Guide?

You have to disable the option that automatically opens results.

japelin
Rhodochrosite | Level 12

No, I'm using SAS 9.4 Windows version.

But I find the options in preference and I was able to get suppress starting Word.

 

Thanks!

JimLoughlin
Quartz | Level 8

You could try 'ods noresults'.

 


ods noresults;
ods rtf;
proc print data=sashelp.class;
run;
ods rtf close;
ods results;
japelin
Rhodochrosite | Level 12

great!

 

This is what I wanted!

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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
  • 4 replies
  • 1371 views
  • 1 like
  • 3 in conversation