I am running the following code and I have the output I am looking for (Testing Homogeneity of Survival Curves for Days_Open over Strata), and also 5 different survival output datasets. How can I suppress the production of these tables?
proc lifetest data= work.Random_Sample plots=(s) notable ALPHA=0.05;
time Days*paid;
strata type;
run ;
Thanks.
Place an ODS EXCLUDE <tablenames go here>; immediately before the Proc statement or within the proc code.
You can find the names of tables either looking in the documentation for the procedure or using
ODS TRACE on;
<your procedure code>
ODS trace off;
there will be a listing of the tables generated in the log that you can then add to an ODS Exclude or Select as needed.
Place an ODS EXCLUDE <tablenames go here>; immediately before the Proc statement or within the proc code.
You can find the names of tables either looking in the documentation for the procedure or using
ODS TRACE on;
<your procedure code>
ODS trace off;
there will be a listing of the tables generated in the log that you can then add to an ODS Exclude or Select as needed.
ods _all_ close;
Use ballardw's method: ODS EXCLUDE ALL;
For reasons why this method is preferable to closing ODS destinations, see
http://blogs.sas.com/content/iml/2015/05/28/five-reasons-ods-exclude.html
The simplest solution is to exit SAS and restart. If for some reason you don't want to do that, then reopen the destination that you want. For example:
ODS HTML;
or
ODS RTF;
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.