<?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 pdf format - printing out top frequences in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-freq-in-pdf-format-printing-out-top-frequences/m-p/206551#M306553</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since your subject line says "top frequencies" what I would suggest would be to run proc freq with no print and create an output data set and then print that with the OBS= dataset option to print the top 200.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc freq data=have noprint order=freq;&lt;/P&gt;&lt;P&gt;tables variable /out= want;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc print data=want (obs=200) noobs ;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Jul 2015 15:52:51 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2015-07-20T15:52:51Z</dc:date>
    <item>
      <title>Proc freq in pdf format - printing out top frequences</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-freq-in-pdf-format-printing-out-top-frequences/m-p/206550#M306552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I am printing a proc freq via&amp;nbsp; pdf and I was wondering if there is a way to only print 200&amp;nbsp; observations in a proc freq?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 15:35:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-freq-in-pdf-format-printing-out-top-frequences/m-p/206550#M306552</guid>
      <dc:creator>myboys2</dc:creator>
      <dc:date>2015-07-20T15:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: Proc freq in pdf format - printing out top frequences</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-freq-in-pdf-format-printing-out-top-frequences/m-p/206551#M306553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since your subject line says "top frequencies" what I would suggest would be to run proc freq with no print and create an output data set and then print that with the OBS= dataset option to print the top 200.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc freq data=have noprint order=freq;&lt;/P&gt;&lt;P&gt;tables variable /out= want;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc print data=want (obs=200) noobs ;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 15:52:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-freq-in-pdf-format-printing-out-top-frequences/m-p/206551#M306553</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-07-20T15:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Proc freq in pdf format - printing out top frequences</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-freq-in-pdf-format-printing-out-top-frequences/m-p/206552#M306554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume you want only the Top 200 groups, ordered by frequency. See the PROC FREQ discussion at &lt;A _jive_internal="true" href="https://communities.sas.com/thread/82076"&gt;https://communities.sas.com/thread/82076&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Basically you can use ORDER=FREQ and suppress output by using the NOPRINT option, then use the OUT= option on the TABLES statemnt to write the frequencies to a data set. Then use PROC PRINT with OBS=200.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jul 2015 15:53:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-freq-in-pdf-format-printing-out-top-frequences/m-p/206552#M306554</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2015-07-20T15:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: Proc freq in pdf format - printing out top frequences</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-freq-in-pdf-format-printing-out-top-frequences/m-p/206553#M306555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you and what you provided worked however I have 10 variable is my freq that I want to print.&amp;nbsp; When I do the out= it only prints the variable in front of the out - which happens to be the last variable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 11:29:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-freq-in-pdf-format-printing-out-top-frequences/m-p/206553#M306555</guid>
      <dc:creator>myboys2</dc:creator>
      <dc:date>2015-07-22T11:29:38Z</dc:date>
    </item>
  </channel>
</rss>

