<?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 graphical output in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/ods-html-graphical-output/m-p/414831#M14240</link>
    <description>&lt;P&gt;Thank you. I've copied suggested codes and ran on my PC, but I got messages in log for some reason: "ERROR: Physical file does not exist, c:\temp\output\test.htm. ERROR: No body file. HTML output will not be created."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actually, it works on my PC by using path option:&lt;/P&gt;&lt;P&gt;ods html path="&amp;amp;output" (url=none)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; body="test.htm" contents="testc.htm" frame="testf.htm" …;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Nov 2017 13:45:37 GMT</pubDate>
    <dc:creator>nnl3256</dc:creator>
    <dc:date>2017-11-20T13:45:37Z</dc:date>
    <item>
      <title>ods html graphical output</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ods-html-graphical-output/m-p/413364#M14195</link>
      <description>&lt;P&gt;I have generated html files using following code. In the generated html body and frame files, there are no graphic outputs generated. When open these two files, there is message displayed at bottom “Internet explorer restricts this webpage form running scripts or ActiveX”. Does anyone have idea?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using SAS 9.4 TS Level 1M4 running on W32_7PRO platform with OS windows version 6. Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;title 'Comparing Group Means';

data Scores;
   input Gender $ Score @@;
   datalines;
f 75  f 76  f 80  f 77  f 80  f 77  f 73
m 82  m 80  m 85  m 85  m 78  m 87  m 82
;

proc ttest;
   class Gender;
   var Score;
run;

ods html close;
ods html body="&amp;amp;output\test.htm" contents="&amp;amp;output\testc.htm" frame="&amp;amp;output\testf.htm"
         style=HTMLBlue ;
ods graphics on;
ods graphics / reset
      imagemap=on
      width=4in
      height=6in ;

proc ttest data=scores;
   class Gender;
   var Score;
run;

ods html close;
ods listing;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2017 22:20:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ods-html-graphical-output/m-p/413364#M14195</guid>
      <dc:creator>nnl3256</dc:creator>
      <dc:date>2017-11-14T22:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: ods html graphical output</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ods-html-graphical-output/m-p/413517#M14199</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Explicitly using PATH= and GPATH= worked for me.&lt;/P&gt;
&lt;P&gt;cynthia&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
ods html close;
%let output=c:\temp\output;
  
ods html path="&amp;amp;output" (url=none)
         gpath="&amp;amp;output" (url=none)
         body="test.htm" contents="testc.htm" 
         frame="testf.htm"
         style=HTMLBlue ;
ods graphics on;
ods graphics / reset
      imagemap=on
      width=4in
      height=6in ;

proc ttest data=scores;
   class Gender;
   var Score;
run;

ods html close;
ods listing;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 14 Nov 2017 22:53:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ods-html-graphical-output/m-p/413517#M14199</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-11-14T22:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: ods html graphical output</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ods-html-graphical-output/m-p/414831#M14240</link>
      <description>&lt;P&gt;Thank you. I've copied suggested codes and ran on my PC, but I got messages in log for some reason: "ERROR: Physical file does not exist, c:\temp\output\test.htm. ERROR: No body file. HTML output will not be created."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actually, it works on my PC by using path option:&lt;/P&gt;&lt;P&gt;ods html path="&amp;amp;output" (url=none)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; body="test.htm" contents="testc.htm" frame="testf.htm" …;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2017 13:45:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ods-html-graphical-output/m-p/414831#M14240</guid>
      <dc:creator>nnl3256</dc:creator>
      <dc:date>2017-11-20T13:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: ods html graphical output</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ods-html-graphical-output/m-p/414870#M14245</link>
      <description>Hi:&lt;BR /&gt;  C:\temp\output was MY location. I would expect the code to work when you use a location on YOUR machine.&lt;BR /&gt;cynthia</description>
      <pubDate>Mon, 20 Nov 2017 15:42:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ods-html-graphical-output/m-p/414870#M14245</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-11-20T15:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: ods html graphical output</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ods-html-graphical-output/m-p/414927#M14248</link>
      <description>&lt;P&gt;Hi Cynthia ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would you please suggest how can we print these .png images in mail body.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks...&lt;/P&gt;&lt;P&gt;Ashok.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2017 19:12:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ods-html-graphical-output/m-p/414927#M14248</guid>
      <dc:creator>ashok_bathini</dc:creator>
      <dc:date>2017-11-20T19:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: ods html graphical output</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/ods-html-graphical-output/m-p/414928#M14249</link>
      <description>Hi:&lt;BR /&gt;  The problem/issue with HTML is that the HTML text strings include an &amp;lt;IMG&amp;gt; tag that points to the physical location of the image file on the server. So the image itself is NOT embedded in the HTML -- it is pointed to. That means you would need to send the image files as attachments to the mail, but then the users would have to open the attachments instead of seeing the images "instream" -- so that sort of makes using HTML files a hassle. You could try using HTML5 and SVG graphics -- if you are allowed to do that in email. For me, a simpler approach is to send a PDF file or an RTF file as an attachment to the mail (instead of in the body of the mail) and then when they open the PDF (or RTF) file, the image is inside the PDF file. Makes it much easier to save and print on the recepient side.&lt;BR /&gt; &lt;BR /&gt;cynthia</description>
      <pubDate>Mon, 20 Nov 2017 19:18:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/ods-html-graphical-output/m-p/414928#M14249</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-11-20T19:18:27Z</dc:date>
    </item>
  </channel>
</rss>

