<?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 prevent EG from disconnecting from server upon data step failure? in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-prevent-EG-from-disconnecting-from-server-upon-data-step/m-p/798211#M40317</link>
    <description>&lt;P&gt;Setting the SAS option ERRORABEND causes the behaviour you are seeing. Check the setting in your SAS session by running this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc options option = errorabend;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If it is set then add this at the top of your program to turn it off:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options noerrorabend;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 23 Feb 2022 19:02:17 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2022-02-23T19:02:17Z</dc:date>
    <item>
      <title>How to prevent EG from disconnecting from server upon data step failure?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-prevent-EG-from-disconnecting-from-server-upon-data-step/m-p/798017#M40305</link>
      <description>&lt;P&gt;I've got a large SAS-program with many data steps. I'm running it in EG 8.3.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If for example the 77th data step fails, then the results of all the previous 76 data steps are lost, and connection to the server is lost. So I need to reconnect and rerun all the data steps to get back to where I was.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there any way to prevent this? If the 77th data step fails, I don't want to lose all my progress and disconnect. I want it to be an isolated failure, so that I can just fix and rerun that particular data step.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 13:24:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-prevent-EG-from-disconnecting-from-server-upon-data-step/m-p/798017#M40305</guid>
      <dc:creator>EinarRoed</dc:creator>
      <dc:date>2022-02-23T13:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent EG from disconnecting from server upon data step failure?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-prevent-EG-from-disconnecting-from-server-upon-data-step/m-p/798025#M40308</link>
      <description>&lt;P&gt;EG should not disconnect just because a step fails with an error. If the step causes a severe failure (a crash in SAS), then that's a bug in SAS -- which may have a workaround or may require a fix. A crash&amp;nbsp;&lt;STRONG&gt;would&lt;/STRONG&gt; cause SAS to disconnect, since it terminates the SAS process.&amp;nbsp;If that's what happens then you should try to capture the SAS log for that step and report to SAS Technical Support.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 13:39:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-prevent-EG-from-disconnecting-from-server-upon-data-step/m-p/798025#M40308</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2022-02-23T13:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent EG from disconnecting from server upon data step failure?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-prevent-EG-from-disconnecting-from-server-upon-data-step/m-p/798057#M40310</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/33000"&gt;@EinarRoed&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I've got a large SAS-program with many data steps. I'm running it in EG 8.3.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If for example the 77th data step fails&lt;U&gt;&lt;STRONG&gt;, then the results of all the previous 76 data steps are lost&lt;/STRONG&gt;&lt;/U&gt;, and connection to the server is lost. So I need to reconnect and rerun all the data steps to get back to where I was.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there any way to prevent this? If the 77th data step fails, I don't want to lose all my progress and disconnect. I want it to be an isolated failure, so that I can just fix and rerun that particular data step.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;If you want data sets to persist then place them in a library you define. The highlighted behavior indicates to me that the sets are being written to the WORK library. Even if a program fails data sets in other libraries would not be "lost". You would just make sure the library was assigned in a another session and they would be there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By any chance have you, or your SAS Admin, set the system option ERRORABEND? That could terminate a SAS session when an error is encountered.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 16:00:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-prevent-EG-from-disconnecting-from-server-upon-data-step/m-p/798057#M40310</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-02-23T16:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to prevent EG from disconnecting from server upon data step failure?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-prevent-EG-from-disconnecting-from-server-upon-data-step/m-p/798211#M40317</link>
      <description>&lt;P&gt;Setting the SAS option ERRORABEND causes the behaviour you are seeing. Check the setting in your SAS session by running this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc options option = errorabend;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If it is set then add this at the top of your program to turn it off:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options noerrorabend;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 23 Feb 2022 19:02:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-prevent-EG-from-disconnecting-from-server-upon-data-step/m-p/798211#M40317</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-02-23T19:02:17Z</dc:date>
    </item>
  </channel>
</rss>

