<?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: Image shown if code executed in EG but not as a STP in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Image-shown-if-code-executed-in-EG-but-not-as-a-STP/m-p/437001#M108768</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp;It is a file on the AIX&amp;nbsp;where SAS is installed. The STP should see that path as I include a coding from that path and that is executed as expected.&lt;/P&gt;
&lt;P&gt;There is no message in the Log. I changed the name of the image, so that I maybe get a response in the log put still nothing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your answer, do you have anyother suggestions?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 14 Feb 2018 06:52:23 GMT</pubDate>
    <dc:creator>Criptic</dc:creator>
    <dc:date>2018-02-14T06:52:23Z</dc:date>
    <item>
      <title>Image shown if code executed in EG but not as a STP</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Image-shown-if-code-executed-in-EG-but-not-as-a-STP/m-p/436636#M108613</link>
      <description>&lt;P&gt;Hello everybody,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a JPG-file on the AIX-System and I want to display that image as part of a html result the user gets. I'm on SAS9.4M2.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Lets start with the coding:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods _ALL_ CLOSE;
ods html;
ods escapechar='~';
title1 "Hello:";
title2 '~S={preimage="/path_to_file/Alexandria.JPG"}';

proc print data=result_table;
run;

ods html close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;When I run this coding from EG it works absolutly fine. First Hello: than the image is shown and than the table.&lt;/P&gt;
&lt;P&gt;But if I run the same coding as part of my STP I just get&amp;nbsp;a little black x inside of a border frame&amp;nbsp;where the image should be.&lt;/P&gt;
&lt;P&gt;I changed the permissions of the image to read for everybody and it is the same result.&lt;/P&gt;
&lt;P&gt;There is no note, warning or error in the STP-Log.&lt;/P&gt;
&lt;P&gt;The result Option for the STP is both Stream and Package.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does anybody have any suggestions?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards and thank you for your time in advance&lt;/P&gt;
&lt;P&gt;Criptic&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2018 11:02:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Image-shown-if-code-executed-in-EG-but-not-as-a-STP/m-p/436636#M108613</guid>
      <dc:creator>Criptic</dc:creator>
      <dc:date>2018-02-13T11:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: Image shown if code executed in EG but not as a STP</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Image-shown-if-code-executed-in-EG-but-not-as-a-STP/m-p/436642#M108619</link>
      <description>I just tried using only Stream / Package but it didn't change anything</description>
      <pubDate>Tue, 13 Feb 2018 11:12:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Image-shown-if-code-executed-in-EG-but-not-as-a-STP/m-p/436642#M108619</guid>
      <dc:creator>Criptic</dc:creator>
      <dc:date>2018-02-13T11:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: Image shown if code executed in EG but not as a STP</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Image-shown-if-code-executed-in-EG-but-not-as-a-STP/m-p/436750#M108662</link>
      <description>&lt;P&gt;When you show&lt;/P&gt;
&lt;P&gt;title2 &lt;SPAN class="token string"&gt;'~S={preimage="/path_to_file/Alexandria.JPG"}'&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="token punctuation"&gt;is the path you use on your PC? Network location? EG server?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="token punctuation"&gt;It is quite possible that your STP server doesn't see the same path. Do you have any messages in the log about file not found or such?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2018 15:30:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Image-shown-if-code-executed-in-EG-but-not-as-a-STP/m-p/436750#M108662</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-02-13T15:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Image shown if code executed in EG but not as a STP</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Image-shown-if-code-executed-in-EG-but-not-as-a-STP/m-p/437001#M108768</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp;It is a file on the AIX&amp;nbsp;where SAS is installed. The STP should see that path as I include a coding from that path and that is executed as expected.&lt;/P&gt;
&lt;P&gt;There is no message in the Log. I changed the name of the image, so that I maybe get a response in the log put still nothing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your answer, do you have anyother suggestions?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 06:52:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Image-shown-if-code-executed-in-EG-but-not-as-a-STP/m-p/437001#M108768</guid>
      <dc:creator>Criptic</dc:creator>
      <dc:date>2018-02-14T06:52:23Z</dc:date>
    </item>
  </channel>
</rss>

