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

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