<?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: Displaying a summarized SAS data table? in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Displaying-a-summarized-SAS-data-table/m-p/390336#M19130</link>
    <description>&lt;P&gt;If you don't use a create table statement in that code the results of the select go directly to the open ODS destination.&lt;/P&gt;
&lt;P&gt;By default that would be the SAS results viewer but an ODS destination could write to an RTF or PDF or other file type as desired.&lt;/P&gt;</description>
    <pubDate>Wed, 23 Aug 2017 16:44:40 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2017-08-23T16:44:40Z</dc:date>
    <item>
      <title>Displaying a summarized SAS data table?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Displaying-a-summarized-SAS-data-table/m-p/390314#M19126</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/*Hi Forum,&lt;/P&gt;&lt;P&gt;I have this dataset.&lt;/P&gt;&lt;P&gt;*/&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; have;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;input&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; product income;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;cards&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;1 1000 15000&lt;/P&gt;&lt;P&gt;1 5000 25000&lt;/P&gt;&lt;P&gt;2 590 1000&lt;/P&gt;&lt;P&gt;3 777 500&lt;/P&gt;&lt;P&gt;3 777 800&lt;/P&gt;&lt;P&gt;3 243 987&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/*And I summarized it using proc sql code below.*/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;sql&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;create&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;table&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; smry &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;as&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;select&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; product&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;,count(*) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;as&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; acct_ct&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;,sum(income) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;as&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; spot_income format = &lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;dollar20.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;from&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; have&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;group&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;by&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;quit&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/*SQL generates the below small SAS data resutls table. I have over 80 such summarized tables. I do not want to export them to Excel&lt;/P&gt;&lt;P&gt;and present.*/&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;product&lt;/TD&gt;&lt;TD&gt;acct_ct&lt;/TD&gt;&lt;TD&gt;spot_income&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;$6,000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;$590&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;$1,797&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;　&lt;/P&gt;&lt;P&gt;/*Q: Is there any method to display the above SAS data resutls table just like proc tablulate, proc freq etc. display. Any help is appreciated. Proc tabulate alternative would not be the answer, I want to display the SAS tables&lt;/P&gt;&lt;P&gt;*/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2017 15:56:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Displaying-a-summarized-SAS-data-table/m-p/390314#M19126</guid>
      <dc:creator>dunga</dc:creator>
      <dc:date>2017-08-23T15:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying a summarized SAS data table?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Displaying-a-summarized-SAS-data-table/m-p/390315#M19127</link>
      <description>It's really unclear what you're asking here. You don't want to export them to Excel? You want a proc to display the results like tabulate/freq? What about PROC PRINT or REPORT?</description>
      <pubDate>Wed, 23 Aug 2017 15:59:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Displaying-a-summarized-SAS-data-table/m-p/390315#M19127</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-08-23T15:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying a summarized SAS data table?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Displaying-a-summarized-SAS-data-table/m-p/390316#M19128</link>
      <description>&lt;P&gt;Sorry, not understanding what the quesiton is? &amp;nbsp;If you don't want output files (e.g. Excel) then you would view datasets by opening them in the datasets view?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2017 16:00:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Displaying-a-summarized-SAS-data-table/m-p/390316#M19128</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-08-23T16:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying a summarized SAS data table?</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Displaying-a-summarized-SAS-data-table/m-p/390336#M19130</link>
      <description>&lt;P&gt;If you don't use a create table statement in that code the results of the select go directly to the open ODS destination.&lt;/P&gt;
&lt;P&gt;By default that would be the SAS results viewer but an ODS destination could write to an RTF or PDF or other file type as desired.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2017 16:44:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Displaying-a-summarized-SAS-data-table/m-p/390336#M19130</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-08-23T16:44:40Z</dc:date>
    </item>
  </channel>
</rss>

