<?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 can't write image via sgplot, but can print proc report in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-html-can-t-write-image-via-sgplot-but-can-print-proc-report/m-p/540592#M22477</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13549"&gt;@Cynthia_sas&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi:&lt;BR /&gt;Typically, when you use body= or file= without a path= option, you are telling ODS and SAS to try to write to the default working folder location on your operating system.&lt;BR /&gt;&lt;BR /&gt;Which is lovely, if you have write access to that location. And with a local install of SAS, you frequently do have write access to that location. However, in some installations, your working folder is not write-able -- such as when you are using SAS University Edition or Enterprise Guide or when SAS is on a server.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Or your IT staff lock down the entire Programs folder on your local install.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 05 Mar 2019 21:08:45 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2019-03-05T21:08:45Z</dc:date>
    <item>
      <title>ods html can't write image via sgplot, but can print proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-html-can-t-write-image-via-sgplot-but-can-print-proc-report/m-p/540575#M22475</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a weird issue with ods html.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the basic sgplot code like so:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sgplot data=example;&lt;/P&gt;&lt;P&gt;&amp;nbsp;title "Example title here";&lt;/P&gt;&lt;P&gt;&amp;nbsp;series = time y=output;&lt;/P&gt;&lt;P&gt;&amp;nbsp;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can use ods pdf and print out the results. BUT, when I try using&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods html body = "test.html";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sgplot data=example;&lt;/P&gt;&lt;P&gt;&amp;nbsp;title "Example title here";&lt;/P&gt;&lt;P&gt;&amp;nbsp;series = time y=output;&lt;/P&gt;&lt;P&gt;&amp;nbsp;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods html close;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it results in the following error "cannot write image to . Please ensure that proper disk permissions are set".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Other things:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-I can write a html output with proc report only and it does just fine.&lt;/P&gt;&lt;P&gt;-I can write proc sgplot out with pdf and it does just fine.&lt;/P&gt;&lt;P&gt;-I tried ods html5 as well&lt;/P&gt;&lt;P&gt;-I am writing this on a linux server within a personal folder area and I tried using chmod +x foldername to change read/write permissions&lt;/P&gt;&lt;P&gt;-I need this in html output, not in pdf format.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 20:27:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-html-can-t-write-image-via-sgplot-but-can-print-proc-report/m-p/540575#M22475</guid>
      <dc:creator>abak</dc:creator>
      <dc:date>2019-03-05T20:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: ods html can't write image via sgplot, but can print proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-html-can-t-write-image-via-sgplot-but-can-print-proc-report/m-p/540582#M22476</link>
      <description>&lt;P&gt;Hi:&lt;BR /&gt;Typically, when you use body= or file= without a path= option, you are telling ODS and SAS to try to write to the default working folder location on your operating system.&lt;BR /&gt;&lt;BR /&gt;Which is lovely, if you have write access to that location. And with a local install of SAS, you frequently do have write access to that location. However, in some installations, your working folder is not write-able -- such as when you are using SAS University Edition or Enterprise Guide or when SAS is on a server.&lt;BR /&gt;&lt;BR /&gt;My guess is that if you change the code to be more like this:&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;ods html &lt;FONT color="#FF00FF"&gt;path="c:\temp"&lt;/FONT&gt; body="test.html";&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;...your sgplot code...;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;ods html close;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;That you'll be able to fiddle around with a path= location until you find one where you have write access. Of course, instead of fiddling around in a server scenario, it might be faster to ask your SAS Admin where you can get or find or be allocated a folder with write access.&lt;BR /&gt;&lt;BR /&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 20:51:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-html-can-t-write-image-via-sgplot-but-can-print-proc-report/m-p/540582#M22476</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2019-03-05T20:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: ods html can't write image via sgplot, but can print proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-html-can-t-write-image-via-sgplot-but-can-print-proc-report/m-p/540592#M22477</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13549"&gt;@Cynthia_sas&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi:&lt;BR /&gt;Typically, when you use body= or file= without a path= option, you are telling ODS and SAS to try to write to the default working folder location on your operating system.&lt;BR /&gt;&lt;BR /&gt;Which is lovely, if you have write access to that location. And with a local install of SAS, you frequently do have write access to that location. However, in some installations, your working folder is not write-able -- such as when you are using SAS University Edition or Enterprise Guide or when SAS is on a server.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Or your IT staff lock down the entire Programs folder on your local install.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2019 21:08:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ods-html-can-t-write-image-via-sgplot-but-can-print-proc-report/m-p/540592#M22477</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-03-05T21:08:45Z</dc:date>
    </item>
  </channel>
</rss>

