<?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 Getting various report formats to look alike from Proc Tabulate in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Getting-various-report-formats-to-look-alike-from-Proc-Tabulate/m-p/252834#M48061</link>
    <description>&lt;P&gt;The Proc Tabulate code below generates good looking HTML files but when I change the ODS format to RTF or PDF they look like hell. &amp;nbsp; The biggest problem is that the rows containing the data are all squished so the numbers aren't readable. &amp;nbsp; I don't really want to have a different version of Proc Tabulate for each ODS output type but if that's the only solution I'll do it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also if I change the html file extension to .xls &amp;nbsp;it will open in Excel and look pretty good but Excel gives a warning message that the file is corrupt.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions for either of those issues? &amp;nbsp; If I need to post sample outputs I'll be happy to.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-------------------- &amp;nbsp; code -------------------&lt;/P&gt;&lt;P&gt;proc tabulate data =&amp;amp;input f=4.0 S=[just=c cellwidth=25];&amp;nbsp;&lt;BR /&gt;var Col1;&lt;BR /&gt;class criterion instrument /ORDER=DATA ;&lt;BR /&gt;class _name_ ;&lt;BR /&gt;table instrument*criterion all={label='Total' s=[just=R background=goldenrod]}*{s=[background=goldenrod]} ,(_name_='Level' ALL)*Col1=" "*(sum="N"*(f=3.0) ROWPCTSUM="%"*f=mypct. ) /box=&amp;amp;reportdate;&amp;nbsp;&lt;BR /&gt;BY instrument NOTSORTED;&amp;nbsp;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 26 Feb 2016 21:35:13 GMT</pubDate>
    <dc:creator>BillB007</dc:creator>
    <dc:date>2016-02-26T21:35:13Z</dc:date>
    <item>
      <title>Getting various report formats to look alike from Proc Tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Getting-various-report-formats-to-look-alike-from-Proc-Tabulate/m-p/252834#M48061</link>
      <description>&lt;P&gt;The Proc Tabulate code below generates good looking HTML files but when I change the ODS format to RTF or PDF they look like hell. &amp;nbsp; The biggest problem is that the rows containing the data are all squished so the numbers aren't readable. &amp;nbsp; I don't really want to have a different version of Proc Tabulate for each ODS output type but if that's the only solution I'll do it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also if I change the html file extension to .xls &amp;nbsp;it will open in Excel and look pretty good but Excel gives a warning message that the file is corrupt.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions for either of those issues? &amp;nbsp; If I need to post sample outputs I'll be happy to.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-------------------- &amp;nbsp; code -------------------&lt;/P&gt;&lt;P&gt;proc tabulate data =&amp;amp;input f=4.0 S=[just=c cellwidth=25];&amp;nbsp;&lt;BR /&gt;var Col1;&lt;BR /&gt;class criterion instrument /ORDER=DATA ;&lt;BR /&gt;class _name_ ;&lt;BR /&gt;table instrument*criterion all={label='Total' s=[just=R background=goldenrod]}*{s=[background=goldenrod]} ,(_name_='Level' ALL)*Col1=" "*(sum="N"*(f=3.0) ROWPCTSUM="%"*f=mypct. ) /box=&amp;amp;reportdate;&amp;nbsp;&lt;BR /&gt;BY instrument NOTSORTED;&amp;nbsp;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2016 21:35:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Getting-various-report-formats-to-look-alike-from-Proc-Tabulate/m-p/252834#M48061</guid>
      <dc:creator>BillB007</dc:creator>
      <dc:date>2016-02-26T21:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: Getting various report formats to look alike from Proc Tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Getting-various-report-formats-to-look-alike-from-Proc-Tabulate/m-p/252844#M48066</link>
      <description>&lt;P&gt;Excel expects its old native format when a file has the extension .xls. The same is true for the otzher extensions and file formats.&lt;/P&gt;
&lt;P&gt;HTML is HTML, RTF is RTF, XML is XML, XLS is XLS , and XLSX is XLSX. Don't obfuscate your data by using improper file extensions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your problem might be the graphics format that needs to be used in RTF or PDF. HTML allows embedding of ActiveX graphics, which look prettiest of all.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2016 21:54:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Getting-various-report-formats-to-look-alike-from-Proc-Tabulate/m-p/252844#M48066</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-02-26T21:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: Getting various report formats to look alike from Proc Tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Getting-various-report-formats-to-look-alike-from-Proc-Tabulate/m-p/252869#M48076</link>
      <description>&lt;P&gt;When I tried using ods excel options the results always looks terrible. &amp;nbsp; I read an article that suggested simply using ods html with an .xls extension. &amp;nbsp; That looks a lot better but it's still not perfect. &amp;nbsp;I should have said that this is using SAS 9.2. &amp;nbsp; I now see there are other ways of generating excel readable outputs. &amp;nbsp;I'll experiment with other options. &amp;nbsp;My report is very basic, no graphics or fancy stuff, just text and numbers and colors.&lt;/P&gt;</description>
      <pubDate>Sat, 27 Feb 2016 00:00:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Getting-various-report-formats-to-look-alike-from-Proc-Tabulate/m-p/252869#M48076</guid>
      <dc:creator>BillB007</dc:creator>
      <dc:date>2016-02-27T00:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: Getting various report formats to look alike from Proc Tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Getting-various-report-formats-to-look-alike-from-Proc-Tabulate/m-p/252899#M48089</link>
      <description>&lt;P&gt;1) You can't expect &amp;nbsp;they have the look in different ODS.&lt;/P&gt;
&lt;P&gt;2)&lt;SPAN&gt; if You change the html file extension to .xml ,might get rid of that annonying warning message. I didn't test it ,just guess .&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Feb 2016 05:58:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Getting-various-report-formats-to-look-alike-from-Proc-Tabulate/m-p/252899#M48089</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-02-27T05:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: Getting various report formats to look alike from Proc Tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Getting-various-report-formats-to-look-alike-from-Proc-Tabulate/m-p/254187#M48441</link>
      <description>changing the extension to .xml didn't help. Changing to ods excel didn't work because I'm using version 9.2 and I don't think it existed then. The best I've been able to do is use ods html with an .xls extension. It opens in Excel reluctantly, but it does!</description>
      <pubDate>Thu, 03 Mar 2016 15:09:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Getting-various-report-formats-to-look-alike-from-Proc-Tabulate/m-p/254187#M48441</guid>
      <dc:creator>BillB007</dc:creator>
      <dc:date>2016-03-03T15:09:12Z</dc:date>
    </item>
  </channel>
</rss>

