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;

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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