<?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: Getting an Error while executing SAS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Getting-an-Error-while-executing-SAS/m-p/456437#M115612</link>
    <description>&lt;P&gt;Have you tried following ? May be it is to do with large sas log file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you submit a job that generates an abnormally large log, SAS Enterprise Guide might display the following error:&lt;/P&gt;&lt;DIV class="fusioncode"&gt;&lt;STRONG&gt;An error occurred executing the workspace job "job_name". The server is disconnected.&lt;/STRONG&gt;&lt;/DIV&gt;&lt;P&gt;If SAS Enterprise Guide logging is enabled, the following error is logged.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;EM&gt;ERROR SAS.Shared.Exceptions.ServerExceptionHelper [(null)] - MapException() - Mapping error for:&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;System.Runtime.InteropServices.COMException (0x80010108): The object invoked has disconnected from its clients. &lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;(Exception from HRESULT: 0x80010108 (RPC_E_DISCONNECTED))&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Workaround&lt;/P&gt;&lt;P&gt;If the job in question generates the error soon after being submitted, try redirecting the streamed SAS log by adding the following code to the top of the program and submit the program again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc printto log="c:\path-on-server\EG.log"; run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Then, check the SAS log to verify that the program has completed. If it did complete, then redirecting the log is the only current workaround.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 23 Apr 2018 09:43:48 GMT</pubDate>
    <dc:creator>emrancaan</dc:creator>
    <dc:date>2018-04-23T09:43:48Z</dc:date>
    <item>
      <title>Getting an Error while executing SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Getting-an-Error-while-executing-SAS/m-p/454734#M114936</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am getting an error while executing SAS program in SAS Enterprise 7.12&lt;BR /&gt;&lt;BR /&gt;Error :- "An Error occurred executing the workspace job "Weekly". The server is disconnected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestion will be much appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 13:47:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Getting-an-Error-while-executing-SAS/m-p/454734#M114936</guid>
      <dc:creator>anare</dc:creator>
      <dc:date>2018-04-17T13:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Getting an Error while executing SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Getting-an-Error-while-executing-SAS/m-p/454736#M114938</link>
      <description>&lt;P&gt;If it is happening in only one code or task, please supply that code.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 13:51:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Getting-an-Error-while-executing-SAS/m-p/454736#M114938</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-04-17T13:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Getting an Error while executing SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Getting-an-Error-while-executing-SAS/m-p/454799#M114966</link>
      <description>&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Its a very big code in SAS Enterprise Guide. Am executing this code from almost 1 year till now I dint get any such type error for this SAS Project.&lt;BR /&gt;&lt;BR /&gt;If I open new project and starting building codes am not getting this error.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 15:16:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Getting-an-Error-while-executing-SAS/m-p/454799#M114966</guid>
      <dc:creator>anare</dc:creator>
      <dc:date>2018-04-17T15:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Getting an Error while executing SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Getting-an-Error-while-executing-SAS/m-p/454800#M114967</link>
      <description>&lt;P&gt;In a SAS Project I have 3 programs built. However&amp;nbsp;by executing 1st&amp;nbsp;Task in the program&amp;nbsp;only which has approx. 200 line of coding.&lt;BR /&gt;&lt;BR /&gt;After executing this whole program am getting this error&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 15:19:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Getting-an-Error-while-executing-SAS/m-p/454800#M114967</guid>
      <dc:creator>anare</dc:creator>
      <dc:date>2018-04-17T15:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: Getting an Error while executing SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Getting-an-Error-while-executing-SAS/m-p/454802#M114968</link>
      <description>&lt;P&gt;200 lines of code can be posted as attachment (save to a .sas file).&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 15:22:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Getting-an-Error-while-executing-SAS/m-p/454802#M114968</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-04-17T15:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: Getting an Error while executing SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Getting-an-Error-while-executing-SAS/m-p/456432#M115608</link>
      <description>&lt;P&gt;Sorry the information's are very confidential&lt;BR /&gt;&lt;BR /&gt;But this code will be executed successfully in SAS Studio only in SAS EG am getting an error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 09:25:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Getting-an-Error-while-executing-SAS/m-p/456432#M115608</guid>
      <dc:creator>anare</dc:creator>
      <dc:date>2018-04-23T09:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Getting an Error while executing SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Getting-an-Error-while-executing-SAS/m-p/456435#M115611</link>
      <description>&lt;P&gt;Then there's nothing we can do to help you. If you are not able to anonymize confidential parts of the code while keeping it's essence (so we can possibly repeat the problem), your only option is SAS technical support (they work under confidentiality rules).&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 09:30:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Getting-an-Error-while-executing-SAS/m-p/456435#M115611</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-04-23T09:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Getting an Error while executing SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Getting-an-Error-while-executing-SAS/m-p/456437#M115612</link>
      <description>&lt;P&gt;Have you tried following ? May be it is to do with large sas log file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you submit a job that generates an abnormally large log, SAS Enterprise Guide might display the following error:&lt;/P&gt;&lt;DIV class="fusioncode"&gt;&lt;STRONG&gt;An error occurred executing the workspace job "job_name". The server is disconnected.&lt;/STRONG&gt;&lt;/DIV&gt;&lt;P&gt;If SAS Enterprise Guide logging is enabled, the following error is logged.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;EM&gt;ERROR SAS.Shared.Exceptions.ServerExceptionHelper [(null)] - MapException() - Mapping error for:&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;System.Runtime.InteropServices.COMException (0x80010108): The object invoked has disconnected from its clients. &lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;(Exception from HRESULT: 0x80010108 (RPC_E_DISCONNECTED))&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Workaround&lt;/P&gt;&lt;P&gt;If the job in question generates the error soon after being submitted, try redirecting the streamed SAS log by adding the following code to the top of the program and submit the program again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc printto log="c:\path-on-server\EG.log"; run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Then, check the SAS log to verify that the program has completed. If it did complete, then redirecting the log is the only current workaround.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Apr 2018 09:43:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Getting-an-Error-while-executing-SAS/m-p/456437#M115612</guid>
      <dc:creator>emrancaan</dc:creator>
      <dc:date>2018-04-23T09:43:48Z</dc:date>
    </item>
  </channel>
</rss>

