Hi Everyone,
To save running time, is there anyway to tell SAS not to print anything on the result/output page.
the plots=None helps but still many tables are printed.
Thank you,
HHCFX
Try this one :
ods select none;
ods output ParameterEstimates=my_reg_output ;
proc reg data=sashelp.class;
model weight=height;
quit;
ods select all;
NOPRINT on the output statement should suppress other output. I would hope you are creating output data sets using the OUTEST or similar options or the OUTPUT statement. If you are using ODS OUTPUT to generate output sets you would want to set ODS SELECT to only create the ones you want.
I need coefficient but the Noprint seems to suppress the creation of the output file.
What should I change?
Thanks.
ods output ParameterEstimates=my_reg_output ;
proc reg data=all1 noprint plots=none;
model Y= x;
run;
ods select none;
ods output ParameterEstimates=my_reg_output ;
proc reg data=all1 noprint plots=none;
model Y= x;
quit;
ods select all;
Thanks but still no table created.
"WARNING: ODS Graphics are not produced when you specify the NOPRINT option in the PROC REG
statement.
WARNING: Output 'ParameterEstimates' was not created. Make sure that the output object name,
label, or path is spelled correctly. Also, verify that the appropriate procedure
options are used to produce the requested output object. For example, verify that
the NOPRINT option is not used."
Try this one :
ods select none;
ods output ParameterEstimates=my_reg_output ;
proc reg data=sashelp.class;
model weight=height;
quit;
ods select all;
Yes, Thank you. It works great!
HHC
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.