<?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: set the ERROR detection macro variable, why do we need this in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/set-the-ERROR-detection-macro-variable-why-do-we-need-this/m-p/357189#M83838</link>
    <description>&lt;P&gt;If you're asking the question "Does one need to include a line of code like that when we manually rerun code that was produced by proc import or export?" the answer is absolutely not.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 09 May 2017 14:10:51 GMT</pubDate>
    <dc:creator>art297</dc:creator>
    <dc:date>2017-05-09T14:10:51Z</dc:date>
    <item>
      <title>set the ERROR detection macro variable, why do we need this</title>
      <link>https://communities.sas.com/t5/SAS-Programming/set-the-ERROR-detection-macro-variable-why-do-we-need-this/m-p/357175#M83833</link>
      <description>&lt;P&gt;&amp;nbsp;%let _EFIERR_ = 0; /* set the ERROR detection macro variable */&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;would anybody explain why do we need this? If we do not have this, what will happen? Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2017 13:34:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/set-the-ERROR-detection-macro-variable-why-do-we-need-this/m-p/357175#M83833</guid>
      <dc:creator>Bal23</dc:creator>
      <dc:date>2017-05-09T13:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: set the ERROR detection macro variable, why do we need this</title>
      <link>https://communities.sas.com/t5/SAS-Programming/set-the-ERROR-detection-macro-variable-why-do-we-need-this/m-p/357184#M83835</link>
      <description>&lt;P&gt;To answer this question, we need to know the context. (Re)Setting such automatic macro variables can and does make sense in certain situations.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So where have you encountered this statement?&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2017 14:00:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/set-the-ERROR-detection-macro-variable-why-do-we-need-this/m-p/357184#M83835</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-05-09T14:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: set the ERROR detection macro variable, why do we need this</title>
      <link>https://communities.sas.com/t5/SAS-Programming/set-the-ERROR-detection-macro-variable-why-do-we-need-this/m-p/357185#M83836</link>
      <description>&lt;P&gt;Think of it this way. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Datastep 1 runs and fails, error code set to 1.&lt;/P&gt;
&lt;P&gt;Datastep 2 runs and passes, but error code still 1.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hence why you&amp;nbsp;reset the error macro at the point you want.&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2017 14:04:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/set-the-ERROR-detection-macro-variable-why-do-we-need-this/m-p/357185#M83836</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-05-09T14:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: set the ERROR detection macro variable, why do we need this</title>
      <link>https://communities.sas.com/t5/SAS-Programming/set-the-ERROR-detection-macro-variable-why-do-we-need-this/m-p/357188#M83837</link>
      <description>&lt;P&gt;Normally you see that line in code generated by PROC IMPORT. &amp;nbsp;When reading from a text file PROC IMPORT is essentially an SCL program that analyzes the text file and generates a data step to read it. The generated data step will update that macro variable if there are any errors. So then the PROC can detect the updated macro variable and report the error.&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2017 14:07:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/set-the-ERROR-detection-macro-variable-why-do-we-need-this/m-p/357188#M83837</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2017-05-09T14:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: set the ERROR detection macro variable, why do we need this</title>
      <link>https://communities.sas.com/t5/SAS-Programming/set-the-ERROR-detection-macro-variable-why-do-we-need-this/m-p/357189#M83838</link>
      <description>&lt;P&gt;If you're asking the question "Does one need to include a line of code like that when we manually rerun code that was produced by proc import or export?" the answer is absolutely not.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2017 14:10:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/set-the-ERROR-detection-macro-variable-why-do-we-need-this/m-p/357189#M83838</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2017-05-09T14:10:51Z</dc:date>
    </item>
  </channel>
</rss>

