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
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
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.