<?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: SAS Job Execution, it doesn't render sgplot image. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-Job-Execution-it-doesn-t-render-sgplot-image/m-p/954460#M372763</link>
    <description>Dear KSharp:&lt;BR /&gt;&lt;BR /&gt;Thanks for your response, with detailed explanations. SAS VIYA JOB&lt;BR /&gt;Execution handles html / pdf / excel file output mechanism differently.&lt;BR /&gt;For Excel, it works with the following code :&lt;BR /&gt;&lt;BR /&gt; filename f_xlxp filesrvc parenturi="&amp;amp;SYS_JES_JOB_URI"&lt;BR /&gt; name="NR.xml"&lt;BR /&gt; contenttype='application/vnd.ms-excel'&lt;BR /&gt;  contentdisp='attachment; filename="test.xlsx"';&lt;BR /&gt;&lt;BR /&gt;Appreciate your time and interest.&lt;BR /&gt;&lt;BR /&gt;Thanks, GPatel&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 23 Dec 2024 02:25:39 GMT</pubDate>
    <dc:creator>GPatel</dc:creator>
    <dc:date>2024-12-23T02:25:39Z</dc:date>
    <item>
      <title>SAS Job Execution, it doesn't render sgplot image.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Job-Execution-it-doesn-t-render-sgplot-image/m-p/954448#M372753</link>
      <description>&lt;P&gt;All:&lt;/P&gt;
&lt;P&gt;I have SAS Code below, and upon&amp;nbsp;SAS Job Execution, it doesn't render sgplot image.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods graphics on / outputfmt=png;&lt;BR /&gt;ODS HTML style=HTMLBlue file=_webout gpath= _ODSOPTIONS = options(BITMAP_MODE='inline');&lt;BR /&gt;&amp;nbsp;proc sgplot data=xxx&amp;nbsp; ;&lt;/P&gt;
&lt;P&gt;title; footnote;&lt;/P&gt;
&lt;P&gt;by year;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; xaxis type=linear min=&amp;amp;min_y. max=&amp;amp;max_y. values=(&amp;amp;min_y. to &amp;amp;max_y. by 1);&lt;/P&gt;
&lt;P&gt;series x=time y=estrips / name="mrfss" lineattrs=(thickness=1.85 color=black) markers markerattrs=(size=3.5px color=black) break;&lt;BR /&gt;series x=time y=lower_eff / name="mrfss_ci" lineattrs=(thickness=1.7 pattern=ShortDash color=ligr) break legendlabel="95% Confidence Interval" markers markerattrs=(symbol=x size=4px color=gray);&lt;BR /&gt;series x=time y=upper_eff / lineattrs=(thickness=1.7 pattern=ShortDash color=ligr) break legendlabel=" " markers markerattrs=(symbol=x size=4px color=gray);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;yaxis offsetmin=0 ;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;ods html close;&lt;BR /&gt;ods graphics off;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am getting ...When I right click on the image, it can be open in another tab, and it shows the image.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GPatel_0-1734889061442.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/103334i706656603CA964CD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GPatel_0-1734889061442.png" alt="GPatel_0-1734889061442.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Dec 2024 17:40:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Job-Execution-it-doesn-t-render-sgplot-image/m-p/954448#M372753</guid>
      <dc:creator>GPatel</dc:creator>
      <dc:date>2024-12-22T17:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Job Execution, it doesn't render sgplot image.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Job-Execution-it-doesn-t-render-sgplot-image/m-p/954453#M372756</link>
      <description>&lt;P&gt;Some questions and considerations:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Where are you running this? Is it in SAS Viya or SAS Enterprise Guide? If using another coding environment like SAS Studio or SAS Enterprise Guide, these tools add their own ODS HTML5 statements that might interfere.&lt;/LI&gt;
&lt;LI&gt;Speaking of ODS HTML5, I believe you should be using that (not ODS HTML) if you want embedded images (where the image data is part of the HTML and not a separate file).&lt;/LI&gt;
&lt;LI&gt;You might also consider using SVG as the image format (scalable vector graphics), as that does well when embedded in HTML and of course the images render nicely even as you enlarge or shrink the view in the browser.&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Sun, 22 Dec 2024 21:25:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Job-Execution-it-doesn-t-render-sgplot-image/m-p/954453#M372756</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2024-12-22T21:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Job Execution, it doesn't render sgplot image.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Job-Execution-it-doesn-t-render-sgplot-image/m-p/954455#M372758</link>
      <description>Chris:&lt;BR /&gt;Happy Holidays !&lt;BR /&gt;I am using SAS JOB execution component.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Gpatel&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Dec 2024 00:25:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Job-Execution-it-doesn-t-render-sgplot-image/m-p/954455#M372758</guid>
      <dc:creator>GPatel</dc:creator>
      <dc:date>2024-12-23T00:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Job Execution, it doesn't render sgplot image.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Job-Execution-it-doesn-t-render-sgplot-image/m-p/954456#M372759</link>
      <description>I think you could try BODY= and PATH= option of ODS HTML like:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ODS HTML style=HTMLBlue   body='render.html'   path='c:\temp\'   ;&lt;BR /&gt; proc sgplot data=xxx  ;</description>
      <pubDate>Mon, 23 Dec 2024 01:39:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Job-Execution-it-doesn-t-render-sgplot-image/m-p/954456#M372759</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-12-23T01:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Job Execution, it doesn't render sgplot image.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Job-Execution-it-doesn-t-render-sgplot-image/m-p/954458#M372761</link>
      <description>KSharp:&lt;BR /&gt;Thanks for reading and responding to my post.&lt;BR /&gt;I am using SAS JOB Execution, and sgplot doesn’t render images. When I right click, and show images, it displays though.&lt;BR /&gt;&lt;BR /&gt;Any clue?&lt;BR /&gt;Happy Holidays!&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;GPatel&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Dec 2024 01:56:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Job-Execution-it-doesn-t-render-sgplot-image/m-p/954458#M372761</guid>
      <dc:creator>GPatel</dc:creator>
      <dc:date>2024-12-23T01:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Job Execution, it doesn't render sgplot image.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Job-Execution-it-doesn-t-render-sgplot-image/m-p/954459#M372762</link>
      <description>I think the image rendered by proc sgplot is not under the same path with html file.&lt;BR /&gt;That why I use PAHT= option.&lt;BR /&gt;Talk to your SAS or OS Administrator to see if the image and html file are under the same path.&lt;BR /&gt;&lt;BR /&gt;Also you could check 'ods listing gpath= ' which is the defaut path of image genreated by proc sgplot:&lt;BR /&gt;&lt;BR /&gt;ods listing gpath='c:\temp\' ;&lt;BR /&gt;ODS HTML style=HTMLBlue body='render.html' path='c:\temp\' ;&lt;BR /&gt;proc sgplot data=xxx ;&lt;BR /&gt;.......&lt;BR /&gt;&lt;BR /&gt;ODS HTML style=HTMLBlue body='render.html' path='c:\temp\' ;&lt;BR /&gt;proc sgplot data=xxx ;</description>
      <pubDate>Mon, 23 Dec 2024 02:06:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Job-Execution-it-doesn-t-render-sgplot-image/m-p/954459#M372762</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-12-23T02:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Job Execution, it doesn't render sgplot image.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Job-Execution-it-doesn-t-render-sgplot-image/m-p/954460#M372763</link>
      <description>Dear KSharp:&lt;BR /&gt;&lt;BR /&gt;Thanks for your response, with detailed explanations. SAS VIYA JOB&lt;BR /&gt;Execution handles html / pdf / excel file output mechanism differently.&lt;BR /&gt;For Excel, it works with the following code :&lt;BR /&gt;&lt;BR /&gt; filename f_xlxp filesrvc parenturi="&amp;amp;SYS_JES_JOB_URI"&lt;BR /&gt; name="NR.xml"&lt;BR /&gt; contenttype='application/vnd.ms-excel'&lt;BR /&gt;  contentdisp='attachment; filename="test.xlsx"';&lt;BR /&gt;&lt;BR /&gt;Appreciate your time and interest.&lt;BR /&gt;&lt;BR /&gt;Thanks, GPatel&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Dec 2024 02:25:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Job-Execution-it-doesn-t-render-sgplot-image/m-p/954460#M372763</guid>
      <dc:creator>GPatel</dc:creator>
      <dc:date>2024-12-23T02:25:39Z</dc:date>
    </item>
  </channel>
</rss>

