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
Barite | Level 11

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;

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 755 views
  • 1 like
  • 3 in conversation