title: SAS-How to NOPRINT in ODS CSV
body: <p>I have some sas code:</p>
  
  <pre><code>ods csv file="filename.csv"
  %macro mac_name (st, en=); 
    %do j=1 %to &amp;en.;
    %let k=%eval(&amp;j.+1);
        proc freq data=data_name;
          tables status&amp;j. * status&amp;k. / nocol norow nopercent missing;
        run;
    %end;
  %mend;
  %mac_name (st=1, en=%sysfunc(week(%sysfunc(today()), u)));
  ods csv close;
  </code></pre>
  
  <p>which works fine, but i need the results window not open.
  I have tried noprint in the proc freq but this stops the code executing at all. </p>
  
  <p>Any ideas?</p>
  
  <p>Thanks in advance!!</p>