<?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 ERRORABEND vs ENDSAS vs ABORT in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ERRORABEND-vs-ENDSAS-vs-ABORT/m-p/250193#M47158</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Couldn't find the difference between&amp;nbsp;ERRORABEND , ENDSAS ,ABORT.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What i understand is ,all terminate the SAS session if encounter error. But what is the difference and when to use which statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 15 Feb 2016 21:23:19 GMT</pubDate>
    <dc:creator>Ps8813</dc:creator>
    <dc:date>2016-02-15T21:23:19Z</dc:date>
    <item>
      <title>ERRORABEND vs ENDSAS vs ABORT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERRORABEND-vs-ENDSAS-vs-ABORT/m-p/250193#M47158</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Couldn't find the difference between&amp;nbsp;ERRORABEND , ENDSAS ,ABORT.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What i understand is ,all terminate the SAS session if encounter error. But what is the difference and when to use which statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2016 21:23:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERRORABEND-vs-ENDSAS-vs-ABORT/m-p/250193#M47158</guid>
      <dc:creator>Ps8813</dc:creator>
      <dc:date>2016-02-15T21:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: ERRORABEND vs ENDSAS vs ABORT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERRORABEND-vs-ENDSAS-vs-ABORT/m-p/250202#M47160</link>
      <description>From top of my head:&lt;BR /&gt;&lt;BR /&gt;Errorabend ends the SAS session when an error occurs. Use when you wish to make sure that nothing else will be executed. &lt;BR /&gt;&lt;BR /&gt;Endsas ends the SAS session in a nice peaceful way, at your command.&lt;BR /&gt;&lt;BR /&gt;Abort also ends the session but gives you some options to leave a RC back the calling program, like a UNIX she'll, scheduler etc.</description>
      <pubDate>Mon, 15 Feb 2016 22:01:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERRORABEND-vs-ENDSAS-vs-ABORT/m-p/250202#M47160</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-02-15T22:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: ERRORABEND vs ENDSAS vs ABORT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERRORABEND-vs-ENDSAS-vs-ABORT/m-p/250278#M47180</link>
      <description>&lt;P&gt;ERRORABEND is a SAS System &lt;U&gt;option&lt;/U&gt;, causing the system to immediately exit when an error is encountered (default is to continue with obs=0)&lt;/P&gt;
&lt;P&gt;ENDSAS and ABEND are &lt;U&gt;statements&lt;/U&gt;; ENDSAS simply terminates the SAS job or session gracefully, while ABORT also gives you control over the exit code handed back to the operating system.&lt;/P&gt;
&lt;P&gt;ABORT terminates the current step, sets obs=0 and lets the SAS session/job continue (default behaviour for ERRORs)&lt;/P&gt;
&lt;P&gt;ABORT ABEND terminates the step &lt;U&gt;and&lt;/U&gt; terminates the SAS session/job immediately.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2016 11:07:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERRORABEND-vs-ENDSAS-vs-ABORT/m-p/250278#M47180</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-02-16T11:07:22Z</dc:date>
    </item>
  </channel>
</rss>

