BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Dear all,
any way to set separated rtf files together?

need your answer,
thanks!
2 REPLIES 2
Cynthia_sas
Diamond | Level 26
You cannot append RTF files together with ODS, as described in this Tech Support FAQ:
http://support.sas.com/faq/040/FAQ04002.html

I would either create them this way:[pre]
ods rtf file='allparts.rtf';
** code for part1;
** code for part2;
** code for part3;
ods rtf close;
[/pre]
Or create the separate RTF files and join them together in Word. You could probably automate this with a VB script. (bringing them together)

With HTML, you can append a new HTML file to an existing HTML file, but that technique does not work for RTF and PDF. That technique (for HTML) is described here: http://support.sas.com/faq/036/FAQ03610.html

Good luck!
cynthia
Duong
Obsidian | Level 7
Hi Cynthia

You can do this by post-processing your RTF file also.



Duong

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

Explore 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
  • 1470 views
  • 0 likes
  • 3 in conversation