<?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: ERROR: Device was not specified, Graphics cannot be loaded by this procedure---when scheduleing in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/ERROR-Device-was-not-specified-Graphics-cannot-be-loaded-by-this/m-p/459142#M14222</link>
    <description>&lt;P&gt;I see, thank you very much!&lt;/P&gt;</description>
    <pubDate>Tue, 01 May 2018 22:44:14 GMT</pubDate>
    <dc:creator>Jade_SAS</dc:creator>
    <dc:date>2018-05-01T22:44:14Z</dc:date>
    <item>
      <title>ERROR: Device was not specified, Graphics cannot be loaded by this procedure---when scheduleing SAS</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/ERROR-Device-was-not-specified-Graphics-cannot-be-loaded-by-this/m-p/458826#M14209</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I am running proc shewhart, everything is okay on my EG (SAS is running SAS server). Then I handed the SAS coding to SAS admin and&amp;nbsp;she tried to schedule the job on SAS EG and got the following errors:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; RROR: Device was not specified.&lt;BR /&gt;Graphics cannot be loaded by this procedure.&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The coding that caused the error is as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;PROC SHEWHART DATA = WORK.SORTTempTableSorted&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;LIMITS=WORK.ABC;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;IRCHART &amp;nbsp; (Var1)&amp;nbsp;*&amp;nbsp;Var2&amp;nbsp;/&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;TESTS= 1 2&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;TESTLABEL1='test1'&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;TESTLABEL2='test2'&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;OUTTABLE=WORK.DEF&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;SIGMAS=3&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;LIMITN=2&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;BY VAR2;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please let me know what may cause the error when scheduling on the server? I have the following added in the coding already:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ODS&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;HTML&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;CLOSE&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;ODS&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;LISTING&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;CLOSE&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jade&lt;/P&gt;</description>
      <pubDate>Mon, 30 Apr 2018 20:09:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/ERROR-Device-was-not-specified-Graphics-cannot-be-loaded-by-this/m-p/458826#M14209</guid>
      <dc:creator>Jade_SAS</dc:creator>
      <dc:date>2018-04-30T20:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Device was not specified, Graphics cannot be loaded by this procedure---when scheduleing</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/ERROR-Device-was-not-specified-Graphics-cannot-be-loaded-by-this/m-p/458833#M14210</link>
      <description>&lt;P&gt;Perhaps prior to the shown procedure?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ODS Graphics on;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The text of that error makes me think the procedure is attempting to use the device based graphics not the SGrapics. You admin sessions may not configure either SG or device based graphics.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the ODS graphics doesn't work then perhaps you need a GOPTIONS statement with an appropriate DEVICE= option.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Apr 2018 20:18:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/ERROR-Device-was-not-specified-Graphics-cannot-be-loaded-by-this/m-p/458833#M14210</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-04-30T20:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Device was not specified, Graphics cannot be loaded by this procedure---when scheduleing</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/ERROR-Device-was-not-specified-Graphics-cannot-be-loaded-by-this/m-p/458888#M14219</link>
      <description>Thank you ballardw！&lt;BR /&gt;Just curious and try to clear my mind, when I ran the SAS code, it’s on the SAS server. Then when the admin schedule the job, it’s still on the SAS server. How come the admin session may not configure the graphics device? Thanks again!&lt;BR /&gt;Jade</description>
      <pubDate>Tue, 01 May 2018 02:47:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/ERROR-Device-was-not-specified-Graphics-cannot-be-loaded-by-this/m-p/458888#M14219</guid>
      <dc:creator>Jade_SAS</dc:creator>
      <dc:date>2018-05-01T02:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Device was not specified, Graphics cannot be loaded by this procedure---when scheduleing</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/ERROR-Device-was-not-specified-Graphics-cannot-be-loaded-by-this/m-p/459011#M14221</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/124089"&gt;@Jade_SAS&lt;/a&gt; wrote:&lt;BR /&gt;Thank you ballardw！&lt;BR /&gt;Just curious and try to clear my mind, when I ran the SAS code, it’s on the SAS server. Then when the admin schedule the job, it’s still on the SAS server. How come the admin session may not configure the graphics device? Thanks again!&lt;BR /&gt;Jade&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Maybe you need to talk with your SAS admin about the setup. It may be that whoever is responsible for the configuration of the server is not aware that some settings may need to be made available for scheduled jobs. I think the scheduler might use a slightly different configuration similar to one for batch jobs and when set up there wasn't a known requirement to enable the specific graphics option(s).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 May 2018 15:41:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/ERROR-Device-was-not-specified-Graphics-cannot-be-loaded-by-this/m-p/459011#M14221</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-05-01T15:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Device was not specified, Graphics cannot be loaded by this procedure---when scheduleing</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/ERROR-Device-was-not-specified-Graphics-cannot-be-loaded-by-this/m-p/459142#M14222</link>
      <description>&lt;P&gt;I see, thank you very much!&lt;/P&gt;</description>
      <pubDate>Tue, 01 May 2018 22:44:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/ERROR-Device-was-not-specified-Graphics-cannot-be-loaded-by-this/m-p/459142#M14222</guid>
      <dc:creator>Jade_SAS</dc:creator>
      <dc:date>2018-05-01T22:44:14Z</dc:date>
    </item>
  </channel>
</rss>

