From: Tim Johnson on
Hello,

I am sort of overhauling a program that creates multiple html output files
using ODS statements. These files are the result of several different SAS
programs that are run by another SAS program via a series of macro include
statements. What I would like to accomplish is a single piece of html
output that has all the presently disparate html pages contained in one
table of contents. One way to do this would be to remove the ODS output
from the different programs and keep all the data sets that are used by the
ODS output groups and create a single ODS HTML output file that is compiled
all at once. However, the way I would like to accomplish my goal is by
appending subsequent groups of HTML output onto the existing file. So, I
would like to ask for some help in this. Basically, I want to,

Write some ODS HTML,

CODE PROGRAM#1

...

ODS HTML PATH=... BODY=... CONTENTS=... FRAME=...

WRITE PROC PRINT ETC TO APPEAR IN HTML OUTPUT

ODS HTML CLOSE

CODE PROGRAM#2

...

ODS HTML PATH=SAME AS #1 BODY=SAME AS #1 CONTENTS=SAME AS #1 FRAME=SAME AS
#1

WRITE PROCS TO APPEAR APPENDED TO END OF HTML OUTPUT FROM PROGRAM#1

ODS HTML CLOSE

CODE PROGRAM#3

...

ODS HTML TO BE APPENDED TO END OF HTML OUTPUT FROM PROGRAMS#1 AND #2

So I hope you see what I am going for. I want to write several programs
each with their own ODS HTML sections. I want those output sections to
append material to the end of a frame file that is created by one program
and then appended onto by each following program.

Hope this makes perfect sense to someone,
Thanks,
Tim