The combination of the
ODS DOCUMENT statement and the DOCUMENT procedure enables you to store
a report’s individual components and then modify and replay
the report. The ODS DOCUMENT statement stores the actual ODS objects
that are created when running a report. You can then use the DOCUMENT
procedure to rearrange, duplicate, or remove output from the results
of a procedure or a database query without invoking the procedures
from the original report. You can also use the DOCUMENT procedure
to do the following:
-
transform a report without rerunning
an analysis or repeating a database query
-
modify the structure of output
-
display output to any ODS output
format
-
navigate the current directory
and list entries
-
open and list ODS documents
-
With the DOCUMENT procedure,
you are not limited to simply regenerating the same report. You can
change the order in which objects are rendered, the table of contents,
the templates that are used, macro variables, and ODS and system options.