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

Dear members,

 

I should create a report with Page numbers in footnote and the outputs are created by macros, the steps are:

 

ODS RTF FILE..;

 

%DESCRIPTIVE_STAT;

%KMPLOT;

 

ODS RTF CLOSE;

 

 

The problem is I am getting the outputs generated by the procedures like PROC MEANS, PROC LIFETEST in the report, however, I don't want to print them into the final report.

 

 

Is there any procedure or process which allows me to save temporary the wanted outputs from PROC REPORT and PROC SGRENDER then I re-use them for final report creation, so the steps will like:

 

%DESCRIPTIVE_STAT;

%KMPLOT;


ODS RTF FILE.....;

 

NEW STEPS TO RELOAD THE WANTED OUTPUTS;

 

ODS RTF CLOSE;

 

FYI: I cannot use the NOPRINT option as I am using ODS for example 'ODS OUTPUT ProductLimitEstimates' from PROC LIFETEST.

 

Thank you in advance

1 ACCEPTED SOLUTION

Accepted Solutions
PaigeMiller
Diamond | Level 26
ods rtf select none;
proc means data= ...;

run;
ods rtf select all;
--
Paige Miller

View solution in original post

2 REPLIES 2
PaigeMiller
Diamond | Level 26
ods rtf select none;
proc means data= ...;

run;
ods rtf select all;
--
Paige Miller
andreas_lds
Jade | Level 19

ods document has some fancy functions to remove unwanted content and re-arrange the the output.

 

Unfortunately i don't have any code to share.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 970 views
  • 2 likes
  • 3 in conversation