BookmarkSubscribeRSS Feed
YNWA1
Obsidian | Level 7

Hi,

I have 6 separate EG programs each producing graphs/charts in a project. I can generate seperate RTF for each. I am wondering if there is a way to create a single rtf out of the 6 programs. I don't want to bundle all the codes in a single program as it makes it very hard to read  and  too bulky. Any suggestion?

 

Thanks in advance for your response

 

 

2 REPLIES 2
whymath
Lapis Lazuli | Level 10

Are you looking for a way to combine multiple rtf files into a single one, there are many people studies on it, try search "combine rtf" in forum and you will find a way out.

Reeza
Super User
Remove the ODS RTF first statement from each program, then wrap them in a new program using %INCLUDE>

ods rtf file="/home/reeza/myFiles/";
%include 'program to create 1st report with no ods rtf close' / source2;
%include 'program to create 1st report with no ods rtf close.sas' / source2;
...

ods rtf close;

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 2 replies
  • 478 views
  • 1 like
  • 3 in conversation