Dear,
I need to combine multiple rtf listings into single file. Is there any SAS tool or utility macro that i can use. Please suggest. Thank you
@knveraraju91 wrote:
Dear,
I need to combine multiple rtf listings into single file. Is there any SAS tool or utility macro that i can use. Please suggest. Thank you
It might help to show the code used to create the files.
Easiest might be to create the actual output inside one rtf "sandwich", place all the output inside a single ODS RTF file= / ODS RTF CLOSE; pair of statements.
Second is if you create all of the output objects in the same session you might be able to use Proc Document to select the bits you want to send to single rtf output file.
SAS per se isn't going to combine existing rtf documents. Once the ODS RTF CLOSE is encountered that document is basically finished as far as SAS is concerned.
If said documents are created outside of SAS then use another program, such as a word processing program, to combine them.
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!
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.