<?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: customized html output in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/customized-html-output/m-p/5096#M2066</link>
    <description>Cynthia,&lt;BR /&gt;
&lt;BR /&gt;
Thank you very much for the quick and detail responsed.&lt;BR /&gt;
Let me explain my question in a little more detail. Basically, I run a tabulate with about 30 var. as a result, my html file contain many columns and is difficult to read, especially on a paper print out. I am looking for a easy way to divide the column so that each page will contain the value of the observations, such as in a rtf format except it will be in a html file format.&lt;BR /&gt;
For instant, if my output from tabulate is:&lt;BR /&gt;
&lt;BR /&gt;
abc 11 22 33 44 55 66 77 88 99 00&lt;BR /&gt;
efg  22 33 44 55 66 77 88 99 00 11&lt;BR /&gt;
hij   33 44 55 66 77 88 99 00 11 22&lt;BR /&gt;
&lt;BR /&gt;
then my desire output would be:&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
abc 11 22 33 44 abc 55 66 77 88 abc 99 00&lt;BR /&gt;
efg  22 33 44 55 efg  66 77 88 99 efg  00 11&lt;BR /&gt;
hij   33 44 55 66 hij   77 88 99 00 hih  11 22 &lt;BR /&gt;
&lt;BR /&gt;
I don't have any experience with htmlpanel, but I will give it a try. Also, with your second suggestion, would the the output line up side by side or one on top another?&lt;BR /&gt;
&lt;BR /&gt;
Once again, thank you very much.&lt;BR /&gt;
&lt;BR /&gt;
Dave</description>
    <pubDate>Wed, 17 Oct 2007 12:16:35 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2007-10-17T12:16:35Z</dc:date>
    <item>
      <title>customized html output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/customized-html-output/m-p/5094#M2064</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
is there a way to add format the output of ods html so that after a set amount of columns, the title, column heading, and first column repeat itself?&lt;BR /&gt;
&lt;BR /&gt;
examp of my output:&lt;BR /&gt;
&lt;BR /&gt;
abc  11 22 33 44 55 66 77 88 99...&lt;BR /&gt;
&lt;BR /&gt;
this is what I need on my html output:&lt;BR /&gt;
&lt;BR /&gt;
abc 11 22 33  abc 44 55 66  abc 77 88 99.....&lt;BR /&gt;
&lt;BR /&gt;
thank you.</description>
      <pubDate>Tue, 16 Oct 2007 17:27:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/customized-html-output/m-p/5094#M2064</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-10-16T17:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: customized html output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/customized-html-output/m-p/5095#M2065</link>
      <description>Try this:&lt;BR /&gt;
[pre]&lt;BR /&gt;
ods html file='c:\temp\repeatcol.html' style=sasweb;&lt;BR /&gt;
    &lt;BR /&gt;
proc print data=sashelp.class label;&lt;BR /&gt;
  title 'repeat name column';&lt;BR /&gt;
  var name age height name weight sex;&lt;BR /&gt;
  label name='Wombat';&lt;BR /&gt;
run;&lt;BR /&gt;
    &lt;BR /&gt;
ods html close;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
PROC PRINT, for example, will let you repeat a column in the VAR statement...as shown above.&lt;BR /&gt;
&lt;BR /&gt;
I'm not sure what you mean by repeating the SAS title, but in the above example, the label used for the NAME column is used every time that the NAME column appears in the output.&lt;BR /&gt;
&lt;BR /&gt;
In an HTML file, the SAS title, appears one time, at the top of the HTML file, unless you have multiple procedures or a single procedure that uses BY group processing or that produces a new page (like the PAGEBY statement or using the PAGE dimension in PROC TABULATE or the PAGE option in PROC REPORT). If you wanted to repeat the title for every 4 observations, then you could do this:&lt;BR /&gt;
[pre]&lt;BR /&gt;
ods html file='c:\temp\repeatcolandtitle.html' style=sasweb;&lt;BR /&gt;
    &lt;BR /&gt;
proc print data=sashelp.class(firstobs=1 obs=4) label;&lt;BR /&gt;
  title 'repeat name column and title';&lt;BR /&gt;
  var name age height name weight sex;&lt;BR /&gt;
  label name='Wombat';&lt;BR /&gt;
run;&lt;BR /&gt;
   &lt;BR /&gt;
proc print data=sashelp.class(firstobs=5 obs=8) label;&lt;BR /&gt;
  title 'repeat name column and title';&lt;BR /&gt;
  var name age height name weight sex;&lt;BR /&gt;
  label name='Wombat';&lt;BR /&gt;
run;&lt;BR /&gt;
   &lt;BR /&gt;
ods html close;&lt;BR /&gt;
  &lt;BR /&gt;
[/pre]&lt;BR /&gt;
  &lt;BR /&gt;
If you look at the above file, you will see that the title repeats with every group of 4 observations. There are other ways to do this, including using SAS Macros and/or using an explicitly set "break" variable and possibly using BY group processing with PROC PRINT or GROUP processing with PROC REPORT.&lt;BR /&gt;
&lt;BR /&gt;
Otherwise, if you are trying to create "panels" of output, you might consider using the HTMLPANEL destination, and look at the documentation here: &lt;BR /&gt;
&lt;A href="http://support.sas.com/rnd/base/topics/odsmarkup/htmlpanel.html" target="_blank"&gt;http://support.sas.com/rnd/base/topics/odsmarkup/htmlpanel.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Or, if none of these suggestions will work for you, then perhaps you should consider contacting Tech Support for more specific help.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Tue, 16 Oct 2007 21:44:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/customized-html-output/m-p/5095#M2065</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2007-10-16T21:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: customized html output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/customized-html-output/m-p/5096#M2066</link>
      <description>Cynthia,&lt;BR /&gt;
&lt;BR /&gt;
Thank you very much for the quick and detail responsed.&lt;BR /&gt;
Let me explain my question in a little more detail. Basically, I run a tabulate with about 30 var. as a result, my html file contain many columns and is difficult to read, especially on a paper print out. I am looking for a easy way to divide the column so that each page will contain the value of the observations, such as in a rtf format except it will be in a html file format.&lt;BR /&gt;
For instant, if my output from tabulate is:&lt;BR /&gt;
&lt;BR /&gt;
abc 11 22 33 44 55 66 77 88 99 00&lt;BR /&gt;
efg  22 33 44 55 66 77 88 99 00 11&lt;BR /&gt;
hij   33 44 55 66 77 88 99 00 11 22&lt;BR /&gt;
&lt;BR /&gt;
then my desire output would be:&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
abc 11 22 33 44 abc 55 66 77 88 abc 99 00&lt;BR /&gt;
efg  22 33 44 55 efg  66 77 88 99 efg  00 11&lt;BR /&gt;
hij   33 44 55 66 hij   77 88 99 00 hih  11 22 &lt;BR /&gt;
&lt;BR /&gt;
I don't have any experience with htmlpanel, but I will give it a try. Also, with your second suggestion, would the the output line up side by side or one on top another?&lt;BR /&gt;
&lt;BR /&gt;
Once again, thank you very much.&lt;BR /&gt;
&lt;BR /&gt;
Dave</description>
      <pubDate>Wed, 17 Oct 2007 12:16:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/customized-html-output/m-p/5096#M2066</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-10-17T12:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: customized html output</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/customized-html-output/m-p/5097#M2067</link>
      <description>Hi:&lt;BR /&gt;
  Proc TABULATE will not do what you want -- you can't put an "identifier" column in the middle of the table column area. However, Proc PRINT and Proc REPORT will allow you to do what you want. One possibility is to create an output data set from TABULATE and then use PRINT or REPORT to get the output in different form.&lt;BR /&gt;
&lt;BR /&gt;
  With my second method, the output would NOT be side by side. Run it and see. For help with HTMLPANEL (or HTMLSCROLL), you should consider contacting Tech Support. Remember that when you print from an HTML file, it is the BROWSER that controls the printing and NOT SAS.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Wed, 17 Oct 2007 13:26:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/customized-html-output/m-p/5097#M2067</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2007-10-17T13:26:01Z</dc:date>
    </item>
  </channel>
</rss>

