<?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 ODS html issue in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-html-issue/m-p/52920#M6625</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; Yes, you are correct. IF c:\wombat exists, that would be an acceptable solution. IF, however, c:\wombat directory did NOT exist, then you would get the same error message. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp; FILENAME _TEMP_ "c:\wombat\something.html";&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp; ODS LISTING CLOSE;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;5&amp;nbsp;&amp;nbsp;&amp;nbsp; ODS CHTML FILE =_TEMP_ RS=NONE;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOTE: Writing CHTML Body file: _TEMP_&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: Physical file does not exist, c:\wombat\something.html.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WARNING: No body file. CHTML output will not be created.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Nov 2011 19:13:19 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2011-11-30T19:13:19Z</dc:date>
    <item>
      <title>ODS html issue</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-html-issue/m-p/52915#M6620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using sas9.2 in wimdows environment. When i am writing 'ODS html' code the output html is generated and saved in the following path:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tools-&amp;gt;Options-&amp;gt;Preference-&amp;gt;Results(tab).. in the results thre is a field to specify the local path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The outputput is not saved in my path which i am specified in the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need ur help at ur earliest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Anir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2011 19:21:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-html-issue/m-p/52915#M6620</guid>
      <dc:creator>ani</dc:creator>
      <dc:date>2011-11-22T19:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: ODS html issue</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-html-issue/m-p/52916#M6621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you need to post your code, if you say its not working. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM THE DOCS:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using the HTML destination, the individual graphs are created as PNG files by default. You can use the PATH= and GPATH= options in the ODS HTML statement to specify the directory where your HTML and graphics files are saved, respectively. This also gives you more control over your graphs. For example, if you want to save your HTML file named &lt;EM&gt;test.htm&lt;/EM&gt; in the &lt;EM&gt;C:&lt;IMG class="math gen" src="https://communities.sas.com/images/statug_odsgraph0003.png" style="vertical-align: -4px; width: 7px; height: 15px;" /&gt;myfiles&lt;/EM&gt; directory, but you want to save your graphics image files in &lt;EM&gt;C:&lt;IMG class="math gen" src="https://communities.sas.com/images/statug_odsgraph0003.png" style="vertical-align: -4px; width: 7px; height: 15px;" /&gt;myfiles&lt;IMG class="math gen" src="https://communities.sas.com/images/statug_odsgraph0003.png" style="vertical-align: -4px; width: 7px; height: 15px;" /&gt;png&lt;/EM&gt;, then you can specify the following: &lt;/P&gt;&lt;PRE class="sascode"&gt;ods html path&amp;nbsp; ="C:\myfiles"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gpath = "C:\myfiles\png"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file&amp;nbsp; = "test.htm";&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;When you specify the URL= suboption with the GPATH= option, SAS creates relative paths for the links and references to the graphics image files in the HTML file. This is useful for building output files that are easily moved from one location to another. For example, the following statements create a relative path to the &lt;EM&gt;png&lt;/EM&gt; directory in all the links and references contained in &lt;EM&gt;test.htm&lt;/EM&gt;: &lt;/P&gt;&lt;PRE class="sascode"&gt;ods html path&amp;nbsp; = "C:\myfiles"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gpath = "C:\myfiles\png" (url="png/")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file&amp;nbsp; = "test.htm";&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;If you do not specify the URL= suboption, SAS creates absolute paths that are hard-coded in the HTML file. These can cause broken links if you move the files. For more information, see the ODS HTML statement in the &lt;EM&gt;SAS Output Delivery System: User's Guide&lt;/EM&gt;. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2011 19:26:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-html-issue/m-p/52916#M6621</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2011-11-22T19:26:47Z</dc:date>
    </item>
    <item>
      <title>ODS html issue</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-html-issue/m-p/52917#M6622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've always used:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODS HTML BODY='fully.qualified.file.name.html';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I just want to output simple html (without links or images).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 14:12:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-html-issue/m-p/52917#M6622</guid>
      <dc:creator>OS2Rules</dc:creator>
      <dc:date>2011-11-30T14:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: ODS html issue</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-html-issue/m-p/52918#M6623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; are you seeing any error messages in the log. Usually, my most common mistake is doing something like this:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ODS HTML body='c:\wombat\something.html' style=sasweb;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;...more code..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;ODS HTML CLOSE;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;and the error I get when c:\wombat does not exist is:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: courier new,courier;"&gt;5&amp;nbsp;&amp;nbsp;&amp;nbsp; ods html file='c:\wombat\something.html' style=sasweb;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal,monaco; color: #0000ff;"&gt;NOTE: Writing HTML Body file: c:\wombat\something.html&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal,monaco; color: #ff0000;"&gt;ERROR: Physical file does not exist, c:\wombat\something.html.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal,monaco; color: #339966;"&gt;WARNING: No body file. HTML output will not be created.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error message says that physical file does not exist because the directory doesn't exist for SAS to create the file in. And, if you do have a directory already created, I think you also have to have WRITE permissions to the location, as well, in order to write your output to the location.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't usually see an instance where FILE= or BODY= doesn't work with a fully qualified file name. You might want to open a track with Tech Support on this. Without a high level path in the BODY= or FILE=&amp;nbsp; option, SAS writes to your current working directory, as shown here on my system (a folder in C:\Documents and Settings).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/10882i600546EF6A5CACDA/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="current_working_directory.jpg" title="current_working_directory.jpg" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 17:26:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-html-issue/m-p/52918#M6623</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2011-11-30T17:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: ODS html issue</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-html-issue/m-p/52919#M6624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; This has worked for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FILENAME _TEMP_ "c:\wombat\something.html";&lt;/P&gt;&lt;P&gt;ODS NORESULTS;&lt;/P&gt;&lt;P&gt;ODS LISTING CLOSE;&lt;/P&gt;&lt;P&gt;ODS CHTML FILE =_TEMP_ RS=NONE;&lt;/P&gt;&lt;P&gt;PROC PRINT data = mydir.mydataset N noobs label;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;ODS CHTML CLOSE;&lt;/P&gt;&lt;P&gt;ODS RESULTS;&lt;/P&gt;&lt;P&gt;ODS LISTING;&lt;/P&gt;&lt;P&gt;FILENAME _TEMP_;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 18:33:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-html-issue/m-p/52919#M6624</guid>
      <dc:creator>ezetina</dc:creator>
      <dc:date>2011-11-30T18:33:04Z</dc:date>
    </item>
    <item>
      <title>ODS html issue</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-html-issue/m-p/52920#M6625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; Yes, you are correct. IF c:\wombat exists, that would be an acceptable solution. IF, however, c:\wombat directory did NOT exist, then you would get the same error message. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp; FILENAME _TEMP_ "c:\wombat\something.html";&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp; ODS LISTING CLOSE;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;5&amp;nbsp;&amp;nbsp;&amp;nbsp; ODS CHTML FILE =_TEMP_ RS=NONE;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOTE: Writing CHTML Body file: _TEMP_&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: Physical file does not exist, c:\wombat\something.html.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WARNING: No body file. CHTML output will not be created.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 19:13:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-html-issue/m-p/52920#M6625</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2011-11-30T19:13:19Z</dc:date>
    </item>
  </channel>
</rss>

