<?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: How to Get HTML output in EG 8.2 in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-Get-HTML-output-in-EG-8-2/m-p/623097#M35501</link>
    <description>&lt;P&gt;I'm not sure this is covered in the reference doc, but we have made some other &lt;A href="https://blogs.sas.com/content/sasdummy/2014/04/16/ods-control-in-eg/" target="_self"&gt;practitioner info available in articles like this one&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are many considerations when you run code in EG that can make it different when running in batch, traditional SAS, SAS Studio, etc.&amp;nbsp; When you have code that needs to run in multiple places, the onus is on the programmer to examine the "environment" interactions (file interactions, for example) that need to be generalized or set up in conditions.&lt;/P&gt;</description>
    <pubDate>Fri, 07 Feb 2020 16:14:26 GMT</pubDate>
    <dc:creator>ChrisHemedinger</dc:creator>
    <dc:date>2020-02-07T16:14:26Z</dc:date>
    <item>
      <title>How to Get HTML output in EG 8.2</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-Get-HTML-output-in-EG-8-2/m-p/623073#M35497</link>
      <description>&lt;P&gt;I'm having trouble understanding how SAS Enterprise Guide determines where to send HTML output. In the windowing environment, I could define a style and run code such as the program below&amp;nbsp; and obtain my output in the results window.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc template;
  define style mystyle;
  parent=styles.default;
    class graphbackground /
          color=white;
    style GraphData1 from GraphData1 /
          contrastcolor=red linestyle=1 ;
    style GraphData2 from GraphData2 /
          contrastcolor=blue linestyle=1 ;
	     style GraphFonts from GraphFonts /
	  'GraphDataFont' = ("Arial", 12pt)
	  'GraphLabelFont' = ("Palatino", 12pt)
	  'GraphValueFont' = ("Arial Bold", 11pt)
	  'GraphAnnoFont' = ("Palatino", 11pt)
	  'GraphTitleFont' = ("Arial", 14pt);
  end;
run;

ods html style=mystyle;
 proc sgplot data=have ;
   vbar total/ datalabel stat=percent );
   label total = "Course Completions";
   run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, in SAS Enterprise Guide 8.2, when I run this code, I receive an error message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: Insufficient authorization to access C:\WINDOWS\system32\sashtml24.htm.&lt;BR /&gt;ERROR: No body file. HTML output will not be created.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I have it the old way when my styled output just appeared in the results window?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2020 15:30:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-Get-HTML-output-in-EG-8-2/m-p/623073#M35497</guid>
      <dc:creator>svh</dc:creator>
      <dc:date>2020-02-07T15:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to Get HTML output in EG 8.2</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-Get-HTML-output-in-EG-8-2/m-p/623077#M35498</link>
      <description>&lt;P&gt;EG generates some of this ODS wrapper for you, and you can tap into that with your custom style options.&amp;nbsp; Try this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* HTML5 is default in EG 8.2 */
ods html5(id=eghtml) style=mystyle;
 proc sgplot data=have ;
   vbar total/ datalabel stat=percent );
   label total = "Course Completions";
  run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 07 Feb 2020 15:36:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-Get-HTML-output-in-EG-8-2/m-p/623077#M35498</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2020-02-07T15:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to Get HTML output in EG 8.2</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-Get-HTML-output-in-EG-8-2/m-p/623078#M35499</link>
      <description>&lt;P&gt;Thank you! I did try to look in the online documentation for a fix, but was unsuccessful. Is there a section of the SAS site that addresses these "wrapper" issues that people face when they transition from the windowing environment?&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2020 15:39:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-Get-HTML-output-in-EG-8-2/m-p/623078#M35499</guid>
      <dc:creator>svh</dc:creator>
      <dc:date>2020-02-07T15:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to Get HTML output in EG 8.2</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-Get-HTML-output-in-EG-8-2/m-p/623097#M35501</link>
      <description>&lt;P&gt;I'm not sure this is covered in the reference doc, but we have made some other &lt;A href="https://blogs.sas.com/content/sasdummy/2014/04/16/ods-control-in-eg/" target="_self"&gt;practitioner info available in articles like this one&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are many considerations when you run code in EG that can make it different when running in batch, traditional SAS, SAS Studio, etc.&amp;nbsp; When you have code that needs to run in multiple places, the onus is on the programmer to examine the "environment" interactions (file interactions, for example) that need to be generalized or set up in conditions.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2020 16:14:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-Get-HTML-output-in-EG-8-2/m-p/623097#M35501</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2020-02-07T16:14:26Z</dc:date>
    </item>
  </channel>
</rss>

