<?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 Stop SAS Processing On Error in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Stop-SAS-Processing-On-Error/m-p/8786#M386</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are using SAS interactively, look at OPTIONS DMSSYNCHK. Be warned that SAS broke that a little bit in 9.2 as compared to 9.1.3. I don't know if they repaired it in 9.3. In 9.1.3 if you hit an error with DMSSYNCHK on it would stop subesquent steps that had already been submitted from running but would still allow you to resubmit without problems. In 9.2 if you hit an error with DMSSYNCHK you seem to have to restart SAS to get out of that error state. Still, even if you are stuck in that state you can still look at your datasets, logs, etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Sep 2011 13:16:29 GMT</pubDate>
    <dc:creator>DouglasMartin</dc:creator>
    <dc:date>2011-09-15T13:16:29Z</dc:date>
    <item>
      <title>Stop SAS Processing On Error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Stop-SAS-Processing-On-Error/m-p/8782#M382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I stop SAS when it encounters an error.&amp;nbsp; Just want it to stop processing, not terminate the session (Abend).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By simply stopping I can then still have the work datasets and log available to look for the cause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an Option for this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 13:00:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Stop-SAS-Processing-On-Error/m-p/8782#M382</guid>
      <dc:creator>slolay</dc:creator>
      <dc:date>2011-09-14T13:00:34Z</dc:date>
    </item>
    <item>
      <title>Stop SAS Processing On Error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Stop-SAS-Processing-On-Error/m-p/8783#M383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One option is to run the code via a wrapper, i.e. wrap the code within a macro, check for errors, and determine whether the next step will run based on the error codes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.g., take a look at: &lt;A href="http://www2.sas.com/proceedings/sugi30/021-30.pdf"&gt;http://www2.sas.com/proceedings/sugi30/021-30.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It shows the method for running in batch but, at the end, also shows how to set it up to run interactively.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 14:08:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Stop-SAS-Processing-On-Error/m-p/8783#M383</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-09-14T14:08:26Z</dc:date>
    </item>
    <item>
      <title>Stop SAS Processing On Error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Stop-SAS-Processing-On-Error/m-p/8784#M384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check what your options are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc options group=ERRORHANDLING; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;specificly look into ERRORABEND/NOERRORABEND, ERRORBYABEND/NOERRORBYABEND&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 20:03:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Stop-SAS-Processing-On-Error/m-p/8784#M384</guid>
      <dc:creator>FriedEgg</dc:creator>
      <dc:date>2011-09-14T20:03:07Z</dc:date>
    </item>
    <item>
      <title>Stop SAS Processing On Error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Stop-SAS-Processing-On-Error/m-p/8785#M385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Guys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will look into them and post back&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 05:27:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Stop-SAS-Processing-On-Error/m-p/8785#M385</guid>
      <dc:creator>slolay</dc:creator>
      <dc:date>2011-09-15T05:27:59Z</dc:date>
    </item>
    <item>
      <title>Stop SAS Processing On Error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Stop-SAS-Processing-On-Error/m-p/8786#M386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are using SAS interactively, look at OPTIONS DMSSYNCHK. Be warned that SAS broke that a little bit in 9.2 as compared to 9.1.3. I don't know if they repaired it in 9.3. In 9.1.3 if you hit an error with DMSSYNCHK on it would stop subesquent steps that had already been submitted from running but would still allow you to resubmit without problems. In 9.2 if you hit an error with DMSSYNCHK you seem to have to restart SAS to get out of that error state. Still, even if you are stuck in that state you can still look at your datasets, logs, etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 13:16:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Stop-SAS-Processing-On-Error/m-p/8786#M386</guid>
      <dc:creator>DouglasMartin</dc:creator>
      <dc:date>2011-09-15T13:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Stop SAS Processing On Error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Stop-SAS-Processing-On-Error/m-p/547887#M151875</link>
      <description>&lt;P&gt;I could not find the answer I was looking for.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I have flows build in DI studio, when I run the generated .sas code in batch I want the batch job to stop when/if the first error occurs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any idea's?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2019 13:07:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Stop-SAS-Processing-On-Error/m-p/547887#M151875</guid>
      <dc:creator>Filipvdr</dc:creator>
      <dc:date>2019-04-02T13:07:45Z</dc:date>
    </item>
  </channel>
</rss>

