<?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 diff format in listing and html using tabulate in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/diff-format-in-listing-and-html-using-tabulate/m-p/72109#M8239</link>
    <description>table var1*var2, var3 is used in proc tabulate&lt;BR /&gt;
In the listing file, it shows var1 and var2 in 1 column like&lt;BR /&gt;
AAAAA&lt;BR /&gt;
111              100&lt;BR /&gt;
222              200&lt;BR /&gt;
BBBBB&lt;BR /&gt;
100                10&lt;BR /&gt;
&lt;BR /&gt;
But, in HTML output, var1 and var2 are shown in 2 columns&lt;BR /&gt;
AAAAA   111   100&lt;BR /&gt;
              222   200&lt;BR /&gt;
BBBBB   100    10&lt;BR /&gt;
&lt;BR /&gt;
How can I make the HTML output same as in listing output?  Thanks</description>
    <pubDate>Mon, 29 Mar 2010 19:08:21 GMT</pubDate>
    <dc:creator>whpun</dc:creator>
    <dc:date>2010-03-29T19:08:21Z</dc:date>
    <item>
      <title>diff format in listing and html using tabulate</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/diff-format-in-listing-and-html-using-tabulate/m-p/72109#M8239</link>
      <description>table var1*var2, var3 is used in proc tabulate&lt;BR /&gt;
In the listing file, it shows var1 and var2 in 1 column like&lt;BR /&gt;
AAAAA&lt;BR /&gt;
111              100&lt;BR /&gt;
222              200&lt;BR /&gt;
BBBBB&lt;BR /&gt;
100                10&lt;BR /&gt;
&lt;BR /&gt;
But, in HTML output, var1 and var2 are shown in 2 columns&lt;BR /&gt;
AAAAA   111   100&lt;BR /&gt;
              222   200&lt;BR /&gt;
BBBBB   100    10&lt;BR /&gt;
&lt;BR /&gt;
How can I make the HTML output same as in listing output?  Thanks</description>
      <pubDate>Mon, 29 Mar 2010 19:08:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/diff-format-in-listing-and-html-using-tabulate/m-p/72109#M8239</guid>
      <dc:creator>whpun</dc:creator>
      <dc:date>2010-03-29T19:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: diff format in listing and html using tabulate</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/diff-format-in-listing-and-html-using-tabulate/m-p/72110#M8240</link>
      <description>Hi:&lt;BR /&gt;
  Not sure what you're seeing. When I use this code, I get the same output in both the LISTING window and the HTML (viewed in a browser).&lt;BR /&gt;
       &lt;BR /&gt;
cynthia&lt;BR /&gt;
[pre]&lt;BR /&gt;
data class;&lt;BR /&gt;
  set sashelp.class;&lt;BR /&gt;
  var1=sex;&lt;BR /&gt;
  var2 = age;&lt;BR /&gt;
  var3 = height;&lt;BR /&gt;
run;&lt;BR /&gt;
        &lt;BR /&gt;
ods listing;&lt;BR /&gt;
ods html file='c:\temp\comptab.html' style=sasweb;&lt;BR /&gt;
  proc tabulate data=class;&lt;BR /&gt;
    class var1 var2;&lt;BR /&gt;
    var var3;&lt;BR /&gt;
    table var1*var2, &lt;BR /&gt;
          var3 ;&lt;BR /&gt;
run;&lt;BR /&gt;
ods html close;&lt;BR /&gt;
[/pre]</description>
      <pubDate>Mon, 29 Mar 2010 19:21:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/diff-format-in-listing-and-html-using-tabulate/m-p/72110#M8240</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-03-29T19:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: diff format in listing and html using tabulate</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/diff-format-in-listing-and-html-using-tabulate/m-p/72111#M8241</link>
      <description>I used the following code and the 2 outputs are diff.&lt;BR /&gt;
&lt;BR /&gt;
ODS HTML FILE=ODSOUT RS=NONE STYLE=SASWEB;&lt;BR /&gt;
PROC TABULATE DATA=SASHELP.CLASS NOSEPS;&lt;BR /&gt;
 CLASS SEX AGE;&lt;BR /&gt;
 CLASSLEV SEX / S=[JUST=L VJUST=TOP];&lt;BR /&gt;
 CLASSLEV AGE / S=[JUST=L];&lt;BR /&gt;
 VAR HEIGHT;&lt;BR /&gt;
 TABLE SEX=' '*AGE=' ', HEIGHT&lt;BR /&gt;
        /RTS=55 INDENT=5 S=[RULES=NONE BORDERWIDTH=0&lt;BR /&gt;
       JUST=L];</description>
      <pubDate>Mon, 29 Mar 2010 20:32:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/diff-format-in-listing-and-html-using-tabulate/m-p/72111#M8241</guid>
      <dc:creator>whpun</dc:creator>
      <dc:date>2010-03-29T20:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: diff format in listing and html using tabulate</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/diff-format-in-listing-and-html-using-tabulate/m-p/72112#M8242</link>
      <description>Hi:&lt;BR /&gt;
  NOSEPS and INDENT=5 are LISTING options -- they only work in the LISTING destination or the OUTPUT window. They are basically ignored by other ODS DESTINATIONS (such as HTML). In the documentation:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/a002473736.htm#a003065557" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/a002473736.htm#a003065557&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
when you see this restriction:&lt;BR /&gt;
Restriction: The NOSEPS option affects only the traditional SAS monospace output destination. &lt;BR /&gt;
&lt;BR /&gt;
It means that the option will only work in the LISTING window.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia&lt;BR /&gt;
&lt;BR /&gt;
Here's the doc site for the INDENT= option:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/a002473740.htm#a003068110" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/a002473740.htm#a003068110&lt;/A&gt;&lt;BR /&gt;
where it explains that HTML, RTF and PDF will not use INDENT= the same way as LISTING:&lt;BR /&gt;
Restriction: In the HTML, RTF, and Printer destinations, the INDENT= option suppresses the row headings for class variables but does not indent nested row headings.</description>
      <pubDate>Mon, 29 Mar 2010 20:52:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/diff-format-in-listing-and-html-using-tabulate/m-p/72112#M8242</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-03-29T20:52:29Z</dc:date>
    </item>
  </channel>
</rss>

