<?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: proc freq in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-freq/m-p/290517#M60131</link>
    <description>&lt;P&gt;If you only want counts then it helps to suppress the percents&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc freq;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; table ID*A1 /norow nocol nocum nopercent;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That will also reduce the number of rows.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please describe exactly how "proc step didn't work". Did it generate an error? The post the Error. Did it generate no output at all? Post the log, that normally occurs when the input data set has no records and the log will tell. Was the output unexpected? Describe exactly how the output was not as expected.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The most likely problem I would see with "too big" data and Proc freq is overflowing the results window.&lt;/P&gt;
&lt;P&gt;If that is the case then use this to create a dataset of the output.&lt;/P&gt;
&lt;P&gt;proc freq &lt;STRONG&gt;noprint&lt;/STRONG&gt;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; table ID*A1 /norow nocol nocum nopercent out=temp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;run;&lt;/P&gt;
&lt;P&gt;Then you can either view the data set or use an ODS destination to send proc print output of the results to document.&lt;/P&gt;</description>
    <pubDate>Tue, 09 Aug 2016 17:03:47 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2016-08-09T17:03:47Z</dc:date>
    <item>
      <title>proc freq</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-freq/m-p/290489#M60124</link>
      <description>&lt;P&gt;&amp;nbsp;I want to print the second output.&lt;/P&gt;
&lt;P&gt;I've already tried this proc step.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc freq;
table ID*A1;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but data is too big so that proc step didn't work.&lt;/P&gt;
&lt;P&gt;I wanna know there are other options. plz let me know.&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/12844iD737E995FDD28EC4/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="a.PNG" title="a.PNG" /&gt;</description>
      <pubDate>Tue, 09 Aug 2016 19:46:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-freq/m-p/290489#M60124</guid>
      <dc:creator>PICKME</dc:creator>
      <dc:date>2016-08-09T19:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: proc freq</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-freq/m-p/290494#M60125</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Proc sql will generate the desired output:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc sql;&lt;/P&gt;
&lt;P&gt;select ID, A1,count(*) as count from have&lt;/P&gt;
&lt;P&gt;group by ID,A1;&lt;/P&gt;
&lt;P&gt;quit;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2016 15:24:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-freq/m-p/290494#M60125</guid>
      <dc:creator>stat_sas</dc:creator>
      <dc:date>2016-08-09T15:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: proc freq</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-freq/m-p/290508#M60129</link>
      <description>&lt;P&gt;Some tips on posting questions - post example test data in the form of a datastep, post example output, explain your problem, what data is it that is so big that you cannot run a procedure over it, proc sql will not be much faster if at all on that data. &amp;nbsp;What system are you running, where is the data coming from, if its a database then extract the data locally then run procedures over it to avoid latency over the network, if the data is on a server check there are no bottlenecks etc.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2016 16:08:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-freq/m-p/290508#M60129</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-08-09T16:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: proc freq</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-freq/m-p/290517#M60131</link>
      <description>&lt;P&gt;If you only want counts then it helps to suppress the percents&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc freq;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; table ID*A1 /norow nocol nocum nopercent;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That will also reduce the number of rows.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please describe exactly how "proc step didn't work". Did it generate an error? The post the Error. Did it generate no output at all? Post the log, that normally occurs when the input data set has no records and the log will tell. Was the output unexpected? Describe exactly how the output was not as expected.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The most likely problem I would see with "too big" data and Proc freq is overflowing the results window.&lt;/P&gt;
&lt;P&gt;If that is the case then use this to create a dataset of the output.&lt;/P&gt;
&lt;P&gt;proc freq &lt;STRONG&gt;noprint&lt;/STRONG&gt;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; table ID*A1 /norow nocol nocum nopercent out=temp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;run;&lt;/P&gt;
&lt;P&gt;Then you can either view the data set or use an ODS destination to send proc print output of the results to document.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2016 17:03:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-freq/m-p/290517#M60131</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-08-09T17:03:47Z</dc:date>
    </item>
  </channel>
</rss>

