<?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: ODS html 2 procedures in 1 file in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-html-2-procedures-in-1-file/m-p/162304#M12059</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure that the system skip option applies to ODS output; it looks more like classic listing control.&lt;/P&gt;&lt;P&gt;You might try ODS text to insert a line before procedure output. If you are using actual title statements you could also try making the first one used Title2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What to the VBA programs do? You might be able to pre-process in SAS or export data in a different form than proc freq output. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 May 2014 16:55:43 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2014-05-16T16:55:43Z</dc:date>
    <item>
      <title>ODS html 2 procedures in 1 file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-html-2-procedures-in-1-file/m-p/162299#M12054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've lost so much time trying to figure out why something that used to work in the past now it does not. Generally the issue is with the standard ODS html output. I have macros that automatically generates reports. However for some of them the goal is to have 2 procedures outputted into a single html file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the code that used to work fine in the past:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODS HTML file = "path\Report1.html";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc freq data = data;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; table var1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc freq data = data2;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; table var5;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;ODS HTML CLOSE;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now it simply creates 2 html files with the output for each of the procedures named Report1.html and Report2.html. I tried to play with the system options but couldn't really figure it out why it does that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did managed to get them outputted into 1 html with the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;filename example "path\Report1.html" mod;&lt;/P&gt;&lt;P&gt;ODS HTML body=example(nobot) anchor = "first";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc freq data = data;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; table var1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;ODS HTML CLOSE;&lt;/P&gt;&lt;P&gt;ODS HTML body=example(notop) anchor = "second";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc freq data = data2;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; table var5;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;ODS HTML CLOSE;&lt;/P&gt;&lt;P&gt;filename example clear;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nevertheless, the output still does not match the old one in terms positioning among rows and there is also no a separating line between the 2 outputs and since I'm using another VBA macros on those reports it makes everything a mess.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If someone could help me out with that, I would be eternally grateful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Georgi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 May 2014 14:50:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-html-2-procedures-in-1-file/m-p/162299#M12054</guid>
      <dc:creator>kontev</dc:creator>
      <dc:date>2014-05-16T14:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: ODS html 2 procedures in 1 file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-html-2-procedures-in-1-file/m-p/162300#M12055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What has changed since "in the past"? Are you on the same OS, using EG vs base SAS, server versus stand alone?&lt;/P&gt;&lt;P&gt;Are there any log messages associated with the output that look different?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 May 2014 14:57:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-html-2-procedures-in-1-file/m-p/162300#M12055</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2014-05-16T14:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: ODS html 2 procedures in 1 file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-html-2-procedures-in-1-file/m-p/162301#M12056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's standard stand alone SAS base from which I'm running the macros. It's possible that the scripts were written in an older version of SAS. But I still don't see why SAS would automatically create another file instead of output the result into the first file or at least there should be some option with which you could explicitly specify not to do that... I don't know as I stated I already invested hours of time trying to get pass that and I still don't have a satisfying result &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://communities.sas.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For refference: I'm actually comparing the current outputs with the old ones, which are simple frequencies with equal unique values past and present.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 May 2014 15:06:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-html-2-procedures-in-1-file/m-p/162301#M12056</guid>
      <dc:creator>kontev</dc:creator>
      <dc:date>2014-05-16T15:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: ODS html 2 procedures in 1 file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-html-2-procedures-in-1-file/m-p/162302#M12057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ods html path="path" body="File1.html";&lt;/P&gt;&lt;P&gt;Stongly recomend path be a fully qualified path and not relative.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, make sure you do not have the ods option NEWFILE set to proc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 May 2014 15:11:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-html-2-procedures-in-1-file/m-p/162302#M12057</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2014-05-16T15:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: ODS html 2 procedures in 1 file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-html-2-procedures-in-1-file/m-p/162303#M12058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The option NEWFILE did the job. However, it is supposed to be set to NONE by default but in my system it seems it is not. Do you have any idea how I could set it to be the default option? Also I just need it to skip the first row before printing the title and the results will be aligned. I tried "options skip=1;" that I found but the output is still printed in the first row instead on the second, any ideas why? &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 May 2014 15:32:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-html-2-procedures-in-1-file/m-p/162303#M12058</guid>
      <dc:creator>kontev</dc:creator>
      <dc:date>2014-05-16T15:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: ODS html 2 procedures in 1 file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-html-2-procedures-in-1-file/m-p/162304#M12059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure that the system skip option applies to ODS output; it looks more like classic listing control.&lt;/P&gt;&lt;P&gt;You might try ODS text to insert a line before procedure output. If you are using actual title statements you could also try making the first one used Title2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What to the VBA programs do? You might be able to pre-process in SAS or export data in a different form than proc freq output. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 May 2014 16:55:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-html-2-procedures-in-1-file/m-p/162304#M12059</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2014-05-16T16:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: ODS html 2 procedures in 1 file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-html-2-procedures-in-1-file/m-p/162305#M12060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi: You could always make title1 blank and then start with title2, which should put some extra white space at the top of the output. The documentation for SKIP system option clearly says that it is LISTING control only -- so it will not apply to ODS destination output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 May 2014 17:24:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-html-2-procedures-in-1-file/m-p/162305#M12060</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2014-05-16T17:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: ODS html 2 procedures in 1 file</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-html-2-procedures-in-1-file/m-p/162306#M12061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much guys. I tried your suggestions but they didn't provide the desired results e.g. the ODS text line adds too much lines (instead of just 1). Anyway, I decided to fix the lines issue with VBA as it was much easier due to the pattern behind it &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 May 2014 15:15:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-html-2-procedures-in-1-file/m-p/162306#M12061</guid>
      <dc:creator>kontev</dc:creator>
      <dc:date>2014-05-18T15:15:43Z</dc:date>
    </item>
  </channel>
</rss>

