<?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 OnDemand for Academics:  ODS not supported? in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/SAS-OnDemand-for-Academics-ODS-not-supported/m-p/978874#M43580</link>
    <description>Hi: In order to provide concrete assistance, we'd need to see the log of the original code that generated the error and the original log. However, this article &lt;A href="https://sas.service-now.com/csm/en/using-the-sas-sg-procedures-or-ods-graphics-with-the-user-system-option?id=kb_article_view&amp;amp;sysparm_article=KB0041619" target="_blank"&gt;https://sas.service-now.com/csm/en/using-the-sas-sg-procedures-or-ods-graphics-with-the-user-system-option?id=kb_article_view&amp;amp;sysparm_article=KB0041619&lt;/A&gt; indicates that some combination of options could cause the error and so it seems likely that when you started over in a fresh session, you may have reset any options that any of your code changed. If it happens again, your best resource would be to capture the full log and either post that or optionally (and possibly more productive in the long run) open a case with Tech Support.&lt;BR /&gt;Cynthia</description>
    <pubDate>Fri, 14 Nov 2025 16:05:11 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2025-11-14T16:05:11Z</dc:date>
    <item>
      <title>SAS OnDemand for Academics:  ODS not supported?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-OnDemand-for-Academics-ODS-not-supported/m-p/978842#M43575</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp; I'm trying to learn base SAS, so forgive the simple questions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use the following code, following the instructions from SAS Programming 1 Essentials, Lesson 5, Practice 1, Level 2.&amp;nbsp; Here's the code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I confirm the library is correct and it does generate results, but I cannot figure out why I keep getting this error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt; ERROR: Unable to establish ODS Graphics context.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It doesn't want to set up a graph.&amp;nbsp; Is this something it doesn't support? Note I do have the beginning line "ods graphics on;" and per the learning that's supposed to let me make graphs.&amp;nbsp; Is that not in OnDemand?&amp;nbsp;Is there another setting in OnDemand I need to flag/remove to get this to behave?&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;ods graphics on;
title "Selected Park Types by Region";
proc freq data=pg1.np_codelookup order=freq;
tables Type*Region / nocol crosslist
plots=freqplot (groupby=row scale=grouppercent orient=horizontal);
where Type in ("National Historic Site", "National Monument", "National Park");
run;
title;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Screenshot attached so you don't have to hunt through everything...I think I have it right.&amp;nbsp; What am I missing?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ryan C&lt;/P&gt;</description>
      <pubDate>Fri, 14 Nov 2025 04:32:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-OnDemand-for-Academics-ODS-not-supported/m-p/978842#M43575</guid>
      <dc:creator>ryanc1979</dc:creator>
      <dc:date>2025-11-14T04:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: SAS OnDemand for Academics:  ODS not supported?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-OnDemand-for-Academics-ODS-not-supported/m-p/978843#M43576</link>
      <description>&lt;P&gt;Looking at the solution, I think this trip up here was that I used "title" and not "title1". Someone confirm if that was the issue.&amp;nbsp; Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 14 Nov 2025 05:45:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-OnDemand-for-Academics-ODS-not-supported/m-p/978843#M43576</guid>
      <dc:creator>ryanc1979</dc:creator>
      <dc:date>2025-11-14T05:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: SAS OnDemand for Academics:  ODS not supported?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-OnDemand-for-Academics-ODS-not-supported/m-p/978845#M43577</link>
      <description>&lt;P&gt;Best would be to show the LOG. Copy the code and all of the other messages from the log. Suggest starting a new session and only running the code to assign the library/data set and the steps you show. If you get the same results then show that log. The new session means there will be less stuff to wade through that might be involved.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That sort of error is a bit odd and may relate to something else you had done earlier, possibly related to which ODS destination(s) are open.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your question about the Title statement I would say is not likely to be the issue. The use of Title as the same as Title1 goes back about 40 years so I doubt very strongly that it has any effect.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Nov 2025 07:09:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-OnDemand-for-Academics-ODS-not-supported/m-p/978845#M43577</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2025-11-14T07:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: SAS OnDemand for Academics:  ODS not supported?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-OnDemand-for-Academics-ODS-not-supported/m-p/978850#M43578</link>
      <description>Same advice: run only the example code in a completely new session.&lt;BR /&gt;&lt;BR /&gt;Researching the message found me some mentions of the USER option being set, which seems to interfere with the graphics system.</description>
      <pubDate>Fri, 14 Nov 2025 07:47:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-OnDemand-for-Academics-ODS-not-supported/m-p/978850#M43578</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2025-11-14T07:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: SAS OnDemand for Academics:  ODS not supported?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-OnDemand-for-Academics-ODS-not-supported/m-p/978873#M43579</link>
      <description>&lt;P&gt;Hi both,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So doing as instructed, the new session doesn't care about "title" vs "title1", so that doesn't look like its the problem as you suggested; it runs fine now.&amp;nbsp; does SAS OnDemand for Academics have some setting with ODS?&amp;nbsp; I don't have a "user" option (at least, in this point of the Base SAS learnings I haven't found any reference to it, so I haven't come across it).&amp;nbsp; I understand it exists, I researched and saw the same thing in the documentation, I just don't know why that error flagged yesterday, and now today it's working just fine.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I'm extremely confused.&amp;nbsp; Is this a "quirk" of SAS?&lt;BR /&gt;&lt;BR /&gt;As requested, code from today and log file:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;ods graphics on;
title "Selected Park Types by Region";
proc freq data=pg1.np_codelookup order=freq;
tables Type*Region / nocol crosslist
	plots=freqplot (groupby=row scale=grouppercent orient=horizontal);
where Type in ("National Historic Site", "National Monument", "National Park");
run;
title;&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE class=""&gt; 
 1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 NOTE: ODS statements in the SAS Studio environment may disable some output features.
 73         
 74         ods graphics on;
 75         title "Selected Park Types by Region";
 76         proc freq data=pg1.np_codelookup order=freq;
 77         tables Type*Region / nocol crosslist
 78         plots=freqplot (groupby=row scale=grouppercent orient=horizontal);
 79         where Type in ("National Historic Site", "National Monument", "National Park");
 80         run;
 
 NOTE: There were 204 observations read from the data set PG1.NP_CODELOOKUP.
       WHERE Type in ('National Historic Site', 'National Monument', 'National Park');
 NOTE: PROCEDURE FREQ used (Total process time):
       real time           0.42 seconds
       user cpu time       0.17 seconds
       system cpu time     0.02 seconds
       memory              26144.65k
       OS Memory           52916.00k
       Timestamp           11/14/2025 03:35:35 PM
       Step Count                        47  Switch Count  4
       Page Faults                       0
       Page Reclaims                     6898
       Page Swaps                        0
       Voluntary Context Switches        443
       Involuntary Context Switches      9
       Block Input Operations            0
       Block Output Operations           1632
       
 
 81         title;
 82         
 83         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 95         &lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 14 Nov 2025 15:39:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-OnDemand-for-Academics-ODS-not-supported/m-p/978873#M43579</guid>
      <dc:creator>ryanc1979</dc:creator>
      <dc:date>2025-11-14T15:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: SAS OnDemand for Academics:  ODS not supported?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-OnDemand-for-Academics-ODS-not-supported/m-p/978874#M43580</link>
      <description>Hi: In order to provide concrete assistance, we'd need to see the log of the original code that generated the error and the original log. However, this article &lt;A href="https://sas.service-now.com/csm/en/using-the-sas-sg-procedures-or-ods-graphics-with-the-user-system-option?id=kb_article_view&amp;amp;sysparm_article=KB0041619" target="_blank"&gt;https://sas.service-now.com/csm/en/using-the-sas-sg-procedures-or-ods-graphics-with-the-user-system-option?id=kb_article_view&amp;amp;sysparm_article=KB0041619&lt;/A&gt; indicates that some combination of options could cause the error and so it seems likely that when you started over in a fresh session, you may have reset any options that any of your code changed. If it happens again, your best resource would be to capture the full log and either post that or optionally (and possibly more productive in the long run) open a case with Tech Support.&lt;BR /&gt;Cynthia</description>
      <pubDate>Fri, 14 Nov 2025 16:05:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-OnDemand-for-Academics-ODS-not-supported/m-p/978874#M43580</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2025-11-14T16:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: SAS OnDemand for Academics:  ODS not supported?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-OnDemand-for-Academics-ODS-not-supported/m-p/978875#M43581</link>
      <description>Sounds good. I'll just assume I wrote something previous to the existing exercise that was causing SAS OnDemand to get wonky. Thanks for the help everyone.</description>
      <pubDate>Fri, 14 Nov 2025 16:41:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-OnDemand-for-Academics-ODS-not-supported/m-p/978875#M43581</guid>
      <dc:creator>ryanc1979</dc:creator>
      <dc:date>2025-11-14T16:41:33Z</dc:date>
    </item>
  </channel>
</rss>

