<?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: How to Stack Reports in ODS HTML in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-Stack-Reports-in-ODS-HTML/m-p/43692#M5820</link>
    <description>Sorry&lt;BR /&gt;
&lt;BR /&gt;
The previous post did not display clearly. In meant to say delete these two lines in the test.html. &lt;BR /&gt;
&lt;BR /&gt;
br   &amp;lt;---- delete this&lt;BR /&gt;
page-break-afer: always  etc &amp;lt;---- delete this line and the br few lines above this&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Regards&lt;BR /&gt;
Duong&lt;BR /&gt;
&lt;A href="http://www.tranz.co.uk" target="_blank"&gt;www.tranz.co.uk&lt;/A&gt;</description>
    <pubDate>Thu, 04 Sep 2008 01:11:20 GMT</pubDate>
    <dc:creator>Duong</dc:creator>
    <dc:date>2008-09-04T01:11:20Z</dc:date>
    <item>
      <title>How to Stack Reports in ODS HTML</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-Stack-Reports-in-ODS-HTML/m-p/43686#M5814</link>
      <description>Hi &lt;BR /&gt;
&lt;BR /&gt;
I want to know how could we stack two reports produced using proc report into one table. In other words, I have two child reports generated separately by two proc reports. I want to stack them end  to end such that the top of the second report is attached to the bottom of the first one.</description>
      <pubDate>Tue, 02 Sep 2008 17:14:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-Stack-Reports-in-ODS-HTML/m-p/43686#M5814</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-09-02T17:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to Stack Reports in ODS HTML</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-Stack-Reports-in-ODS-HTML/m-p/43687#M5815</link>
      <description>Research your ODS HTML facility options, however I don't know of a method to directly "fuse" two PROC outputs together with "ODS HTML", assuming you do not want the HTML TABLE body content to be separate (no titles or BY separation).  Programming ODS HTML to generate back-to-back PROC outputs is definitely possible, within the same HTML document, using various techniques, such as BY group processing, or iterative invocation with WHERE processing.&lt;BR /&gt;
&lt;BR /&gt;
For consideration, I find that the SAS support website at &lt;A href="http://support.sas.com/" target="_blank"&gt;http://support.sas.com/&lt;/A&gt; provides many examples and also you can search for topic-oriented references, using relative keywords and phrases.  I have provided links to some related SUGI/SGF papers.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
__________________&lt;BR /&gt;
&lt;BR /&gt;
ODS HTML papers:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://www2.sas.com/proceedings/sugi29/245-29.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi29/245-29.pdf&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://www2.sas.com/proceedings/sugi27/p008-27.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi27/p008-27.pdf&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
SAS Base technical resources home:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/rnd/base/" target="_blank"&gt;http://support.sas.com/rnd/base/&lt;/A&gt;</description>
      <pubDate>Tue, 02 Sep 2008 21:09:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-Stack-Reports-in-ODS-HTML/m-p/43687#M5815</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2008-09-02T21:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to Stack Reports in ODS HTML</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-Stack-Reports-in-ODS-HTML/m-p/43688#M5816</link>
      <description>Thanks. But that is not I want. Look into this document below. I want to achieve this in HTML.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://www2.sas.com/proceedings/sugi31/089-31.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi31/089-31.pdf&lt;/A&gt;</description>
      <pubDate>Tue, 02 Sep 2008 21:23:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-Stack-Reports-in-ODS-HTML/m-p/43688#M5816</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-09-02T21:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to Stack Reports in ODS HTML</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-Stack-Reports-in-ODS-HTML/m-p/43689#M5817</link>
      <description>Hi:&lt;BR /&gt;
  The paper that you showed did illustrate one way to "stack" tables together. He did it with a custom SAS macro program. You could contact the author of that paper to see whether he will share his macro program with you.&lt;BR /&gt;
  &lt;BR /&gt;
  Most of the methods I know involve either creating the 2 tables/reports separately (as SAS data sets) and then concatenating them together and having 1 report job or using DATA _NULL_ -- with a custom table template -- to write out both reports. In the "old" days, people used to use DATA _NULL_ to the LISTING destination (Output Window) for this kind of report.&lt;BR /&gt;
  &lt;BR /&gt;
  For example, in this paper, I showed taking the results from PROC FREQ and from PROC MEANS and concatenating the tables together and then using PROC REPORT.&lt;BR /&gt;
Creating Complex Reports: &lt;A href="http://www2.sas.com/proceedings/forum2008/173-2008.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/forum2008/173-2008.pdf&lt;/A&gt;&lt;BR /&gt;
Zip file of programs for paper: &lt;A href="http://support.sas.com/rnd/papers/sgf2008/complex_reports.zip" target="_blank"&gt;http://support.sas.com/rnd/papers/sgf2008/complex_reports.zip&lt;/A&gt; &lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Tue, 02 Sep 2008 22:42:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-Stack-Reports-in-ODS-HTML/m-p/43689#M5817</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2008-09-02T22:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to Stack Reports in ODS HTML</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-Stack-Reports-in-ODS-HTML/m-p/43690#M5818</link>
      <description>Hi brkiranphm&lt;BR /&gt;
&lt;BR /&gt;
I know you ask for HTML but since you refer to the RTF paper - if I may also refer you &lt;BR /&gt;
to the paper(%RiTEN) &lt;A href="http://www.phuse.eu/download.aspx?type=cms&amp;amp;docID=221" target="_blank"&gt;http://www.phuse.eu/download.aspx?type=cms&amp;amp;docID=221&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
To stack RTF tables it is very simple to do with post-processing as discussed in the paper. I also discussed another level of flexibility - that is Cell Merging. You can then open the RTF file and save in HTML format.&lt;BR /&gt;
&lt;BR /&gt;
Having said that - If you can post-process RTF file then you can post-process HTML file. I have not experiment in HTML so do not know dificult this is.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Regards&lt;BR /&gt;
Duong&lt;BR /&gt;
&lt;A href="http://www.tranz.co.uk" target="_blank"&gt;www.tranz.co.uk&lt;/A&gt;</description>
      <pubDate>Wed, 03 Sep 2008 23:45:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-Stack-Reports-in-ODS-HTML/m-p/43690#M5818</guid>
      <dc:creator>Duong</dc:creator>
      <dc:date>2008-09-03T23:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to Stack Reports in ODS HTML</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-Stack-Reports-in-ODS-HTML/m-p/43691#M5819</link>
      <description>Hi brkiranphm&lt;BR /&gt;
&lt;BR /&gt;
If you run the prog below then open the test.html then delete the 2 lines&lt;BR /&gt;
indicated and you will see your tables stacked. I have ran this in PC SAS v9.1.3&lt;BR /&gt;
Once the 2 lines deleted open in IE6 works but FireFox v2 did not seem to work properly.&lt;BR /&gt;
&lt;BR /&gt;
:&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;         &amp;lt;------ delete this &lt;BR /&gt;
&lt;BR /&gt;
&lt;DIV class="branch"&gt;&lt;BR /&gt;
&lt;P style="page-break-after: always;"&gt;&lt;BR /&gt;&lt;/P&gt;&lt;HR size="3" /&gt;  &amp;lt;------ delete this &lt;BR /&gt;
&lt;A name="IDX1"&gt;&lt;/A&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;BR /&gt;
&lt;DIV align="center"&gt;&lt;BR /&gt;
:&lt;BR /&gt;
:&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
/* test.sas */&lt;BR /&gt;
ODS HTML FILE='c:\test.html';                                                                                                           &lt;BR /&gt;
                                                                                                                                        &lt;BR /&gt;
    proc report data = sashelp.class missing nowindows                                                                                  &lt;BR /&gt;
           style(report) = [just=center outputwidth=60%]                                                                                &lt;BR /&gt;
           ;                                                                                                                            &lt;BR /&gt;
      column name sex age height weight;                                                                                                &lt;BR /&gt;
    run;                                                                                                                                &lt;BR /&gt;
                                                                                                                                        &lt;BR /&gt;
   title;                                                                                                                               &lt;BR /&gt;
                                                                                                                                        &lt;BR /&gt;
    proc report data = sashelp.class missing nowindows noheader                                                                         &lt;BR /&gt;
           style(report) = [just=center outputwidth=60%]                                                                                &lt;BR /&gt;
           ;                                                                                                                            &lt;BR /&gt;
      column name sex;                                                                                                                  &lt;BR /&gt;
    run;                                                                                                                                &lt;BR /&gt;
                                                                                                                                        &lt;BR /&gt;
ODS HTML CLOSE; &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Regards&lt;BR /&gt;
Duong&lt;BR /&gt;
&lt;A href="http://www.tranz.co.uk" target="_blank"&gt;www.tranz.co.uk&lt;/A&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 04 Sep 2008 00:55:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-Stack-Reports-in-ODS-HTML/m-p/43691#M5819</guid>
      <dc:creator>Duong</dc:creator>
      <dc:date>2008-09-04T00:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to Stack Reports in ODS HTML</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-Stack-Reports-in-ODS-HTML/m-p/43692#M5820</link>
      <description>Sorry&lt;BR /&gt;
&lt;BR /&gt;
The previous post did not display clearly. In meant to say delete these two lines in the test.html. &lt;BR /&gt;
&lt;BR /&gt;
br   &amp;lt;---- delete this&lt;BR /&gt;
page-break-afer: always  etc &amp;lt;---- delete this line and the br few lines above this&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Regards&lt;BR /&gt;
Duong&lt;BR /&gt;
&lt;A href="http://www.tranz.co.uk" target="_blank"&gt;www.tranz.co.uk&lt;/A&gt;</description>
      <pubDate>Thu, 04 Sep 2008 01:11:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-Stack-Reports-in-ODS-HTML/m-p/43692#M5820</guid>
      <dc:creator>Duong</dc:creator>
      <dc:date>2008-09-04T01:11:20Z</dc:date>
    </item>
  </channel>
</rss>

