<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: how to output proc freq results in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-output-proc-freq-results/m-p/616050#M180289</link>
    <description>&lt;P&gt;You can use the OUT= option of the TABLES statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you really don't want to use the TABLES statement, then you can use&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ODS OUTPUT ONEWAYFREQS=FREQS;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jan 2020 20:41:14 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2020-01-08T20:41:14Z</dc:date>
    <item>
      <title>how to output proc freq results</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-output-proc-freq-results/m-p/616049#M180288</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to store in output table or dataset for given below proc freq results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc freq data=source1;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: I want to store proc freq results for all the columns which are in source1 dataset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2020 20:36:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-output-proc-freq-results/m-p/616049#M180288</guid>
      <dc:creator>abhityagi</dc:creator>
      <dc:date>2020-01-08T20:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to output proc freq results</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-output-proc-freq-results/m-p/616050#M180289</link>
      <description>&lt;P&gt;You can use the OUT= option of the TABLES statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you really don't want to use the TABLES statement, then you can use&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ODS OUTPUT ONEWAYFREQS=FREQS;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2020 20:41:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-output-proc-freq-results/m-p/616050#M180289</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-01-08T20:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: how to output proc freq results</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-output-proc-freq-results/m-p/616054#M180291</link>
      <description>&lt;P&gt;This example shows you how to get a nice clean table. Just change replace your proc freq with mine and you should get the output wanted.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://gist.github.com/statgeek/e0903d269d4a71316a4e" target="_blank"&gt;https://gist.github.com/statgeek/e0903d269d4a71316a4e&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2020 20:45:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-output-proc-freq-results/m-p/616054#M180291</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-01-08T20:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to output proc freq results</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-output-proc-freq-results/m-p/616056#M180292</link>
      <description>&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, given below statement does not work. I want to keep freq results for all the columns in output dataset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;proc freq data=source1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;tables _all_ / out=freq_results;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;run&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2020 20:52:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-output-proc-freq-results/m-p/616056#M180292</guid>
      <dc:creator>abhityagi</dc:creator>
      <dc:date>2020-01-08T20:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: how to output proc freq results</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-output-proc-freq-results/m-p/616057#M180293</link>
      <description>&lt;P&gt;What type of output do you want?&amp;nbsp; If you want a single dataset that has checker board pattern of missing values you can either use the ODS output data or use PROC SUMMARY.&lt;/P&gt;
&lt;P&gt;Run this to see what the results look like so a small test dataset.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
  set sashelp.class (obs=5);
  keep name age height ;
run;
proc print data=test;
run;

ods exclude ONEWAYFREQS;
ods output ONEWAYFREQS=want1;
proc freq data=test;
run;
ods exclude none;

proc print data=want1; run;

proc summary data=test chartype ;
 class _all_;
 ways 1;
 output out=want2;
run;

proc print data=want2;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2020 20:53:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-output-proc-freq-results/m-p/616057#M180293</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-01-08T20:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to output proc freq results</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-output-proc-freq-results/m-p/616067#M180298</link>
      <description>&lt;P&gt;Thanks Reeza.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2020 21:11:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-output-proc-freq-results/m-p/616067#M180298</guid>
      <dc:creator>abhityagi</dc:creator>
      <dc:date>2020-01-08T21:11:51Z</dc:date>
    </item>
  </channel>
</rss>

