A: Yes! Use the Output Delivery System (ODS) .
ODS TRACE ON / LISTING; /* Display ODS names in the output window. */ PROC REG; MODEL y = x1 x2 etc; RUN; ODS TRACE OFF; /* Stop displaying ODS names (optional). */
In the SAS output window, you'll see a Name above each part of the output. For the REG procedure, the first part of the output is named ANOVA, the second part is named FitStatistics, the third part is named ParameterEstimates.
You can save each part of the output to a SAS file, as follows:
PROC REG;
MODEL y = x1 x2 etc;
ODS OUTPUT ParameterEstimates=parms_out ANOVA=anova_out FitStatistics=r2s_out;
/*
...or if you just want one part of the output, you can say, for example,
ODS OUTPUT ParameterEstimates=parms_out;
*/
RUN;
The names parms_out etc are just examples. You can give these output data sets any names you want.
Now your parameter estimates, for example, are in a SAS file. To see the file contents, type
PROC PRINT DATA=parms_out; RUN;
What you see here is a SAS data set that contains the results of your analysis. Look at the column headers to see what names have been assigned to the different columns of output. In this example, the point estimates in a column called Estimates and the standard errors are in a column called StdErr. But if we had used a different procedure, the point estimates and standard errors might be called something else.