title: Output PROC MEANS to a file/SAS data table
body: <p>In PROC FREQ procedure we can specify an output table in the following terms:</p>
  
  <pre><code>    Proc Freq
          DATA=LIB.TABLE_IN
          ORDER=FREQ;
  
          TABLES FIELD / MISSING OUT = LIB.TABLE_OUT; /* outputs to a SAS data table */
      RUN;
  </code></pre>
  
  <p>How could we do the same with PROC MEANS procedure?</p>
  
  <pre><code>proc means data=LIB.TABLE_IN n nmiss;
  </code></pre>
  
  <p>Thanks for helping!</p>