In reply to Haris.

If you use an OUTPUT statement or an OUTEST= option, then you are correct that the ODS NORESULTS statement is not necessary. However, in many cases you use ODS EXCLUDE ALL to turn off output to the screen, but then you use an ODS OUTPUT statement to redirect certain tables to a SAS data set. The ODS NORESULT statement prevents getting thousands of entries in the results windows (treeview control) connected to creating the SAS data set for each BY group.

The ODS NORESULT statement is equivalent to ODS RESULTS OFF.