https://blogs.sas.com/content/iml/2017/01/09/ods-output-any-statistic.html
You didn't specify exactly what you want to save and store in a data set. I'm assuming you mean data set, not database, if you want to load this to a DB somewhere this doesn't answer that directly. The blog post above has instructions on saving any table outputted.
You should also look at the OUTPUT statement on the PROC to see what statistics you can store without having it displayed.
And the OUTSTAT= option on the PROC statement.
@camilleanais_a wrote:
I can't put the results of this procedure in a SAS database. Can you please help me ? Thank you.
proc glm DATA= &table. plots=none; class &target.; model &variable.=&target.; ods select FitStatistics; run; QUIT;
... View more