Hello,
Every single output object (be it a table or a graph / plot) can be captured in a SAS dataset!!
Use
ODS TRACE ON;
to know about the name of all the output objects (they are published in the log-screen in order of appearance).
Some examples from PROC GLM:
Output Added:
-------------
Name: ModelANOVA
Label: Type III Model ANOVA
Template: stat.GLM.Tests
Path: GLM.ANOVA.Weight.ModelANOVA
-------------
Output Added:
-------------
Name: BoxPlot
Label: Box Plot
Template: Stat.GLM.Graphics.FitBoxPlot
Path: GLM.ANOVA.Weight.BoxPlot
-------------
Then use
ODS OUTPUT objectname=datasetname;
to capture what you're interested in.
Full example:
ods trace on;
ods output ModelANOVA=work.ModelANOVA;
proc glm data=sashelp.class;
class sex;
model weight=sex;
run;
QUIT;
ods trace off;
The LOG says:
NOTE: The data set WORK.MODELANOVA has 2 observations and 8 variables.
Hope this helps!
Koen