Hi
I'm using SAS 9.4 and I create many different rtf document with a macro in SAS using ODS features.
But, after creating a rtf document on my hard drive, SAS automatically opened it. It quickly run out my memory. How can I switch off the automatic opening.
For example:
DATA CLASS;
INPUT NAME $ 1-8 SEX $ 10 AGE 12-13 HEIGHT 15-16 WEIGHT 18-22;
CARDS;
JOHN M 12 59 99.5
JAMES M 12 57 83.0
ALFRED M 14 69 112.5
ALICE F 13 56 84.0
;
ods rtf file= "D:\TestSAS\OUT\_test.rtf" ;
PROC MEANS;
VAR AGE HEIGHT WEIGHT;
PROC PLOT;
PLOT WEIGHT*HEIGHT;
quit ;
ods rtf close ;
will automatically open the _test.rtf document in Microsoft word
Thank you for your help,
all the best,
Damien.
Hi:
Go to Tools --> Options --> Preferences ---> Results tab. On the Results Tab, look for the check box that says: "View results as they are generated" -- make sure that you clear the check mark that appears in that box. That should stop SAS from automatically launching Word when the RTF file has been generated.
cynthia
Hi:
Go to Tools --> Options --> Preferences ---> Results tab. On the Results Tab, look for the check box that says: "View results as they are generated" -- make sure that you clear the check mark that appears in that box. That should stop SAS from automatically launching Word when the RTF file has been generated.
cynthia
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.