<?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: Get SAS data set from proc freq in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Get-SAS-data-set-from-proc-freq/m-p/355780#M64217</link>
    <description>&lt;P&gt;Use OUT on the TABLE statement.&lt;/P&gt;
&lt;P&gt;Note that I also used the NOPRINT option so you don't have output that goes to the Listing or HTML output. This is optional, but I find useful feature.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc freq data=sashelp.class noprint;
table age*sex / out=want;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 03 May 2017 20:42:24 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-05-03T20:42:24Z</dc:date>
    <item>
      <title>Get SAS data set from proc freq</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Get-SAS-data-set-from-proc-freq/m-p/355775#M64216</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want get SAS data set instead of output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc freq data =sashelp.class ;&lt;BR /&gt;table sex / MISSING ;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; output out=need;/*not work*/&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to generate a SAS data set with data like this: &amp;nbsp; &amp;nbsp; (two rows,5 variables):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sex &amp;nbsp; &amp;nbsp;Frequency &amp;nbsp; &amp;nbsp;Percent &amp;nbsp; &amp;nbsp; &amp;nbsp;Cumu_Frequency &amp;nbsp; &amp;nbsp;Percent&lt;BR /&gt; F &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;9 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;47.37 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 9 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 47.37&lt;BR /&gt; M &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 52.63 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 19 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 100.00&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to program?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2017 20:37:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Get-SAS-data-set-from-proc-freq/m-p/355775#M64216</guid>
      <dc:creator>GeorgeSAS</dc:creator>
      <dc:date>2017-05-03T20:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: Get SAS data set from proc freq</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Get-SAS-data-set-from-proc-freq/m-p/355780#M64217</link>
      <description>&lt;P&gt;Use OUT on the TABLE statement.&lt;/P&gt;
&lt;P&gt;Note that I also used the NOPRINT option so you don't have output that goes to the Listing or HTML output. This is optional, but I find useful feature.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc freq data=sashelp.class noprint;
table age*sex / out=want;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2017 20:42:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Get-SAS-data-set-from-proc-freq/m-p/355780#M64217</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-05-03T20:42:24Z</dc:date>
    </item>
  </channel>
</rss>

