BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Damien
Calcite | Level 5

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Cynthia_sas
SAS Super FREQ


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

View solution in original post

1 REPLY 1
Cynthia_sas
SAS Super FREQ


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

sas-innovate-2024.png

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.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 4652 views
  • 1 like
  • 2 in conversation