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;
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
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.
Ready to level-up your skills? Choose your own adventure.