HTML is likely the default output these days. Try turning off the HTML destination instead.
@SASuserlot wrote:
I created a dataset, and ods output as rtf. File using the proc report. I am able to generate the word file with table. However my table also printing in sas output window. How I can avoid it!. I tried using" ods listing close" option b4 proc report. But now work. Can any one say what would be the reason!
You could try turning off all ODS destinations, then open the RTF one:
ODS close _all_;
ODS RTF file = .....etc.;
Use the ODS _ALL_ CLOSE statement before you open the RTF destination.
In SAS Enterprise Guide you can disable default output targets for each program using the properties-dialog of the program.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.
Ready to level-up your skills? Choose your own adventure.