<?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: Are _N_ and _ERROR variables available during BY-group prcoessing? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Are-N-and-ERROR-variables-available-during-BY-group-prcoessing/m-p/544924#M150711</link>
    <description>&lt;P&gt;Ahh...thanks for pointing that out! I was focused on the BY-group processing while the question was focused on the two variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will read questions more carefully next time. Thank you!&lt;/P&gt;</description>
    <pubDate>Thu, 21 Mar 2019 16:16:37 GMT</pubDate>
    <dc:creator>cosmid</dc:creator>
    <dc:date>2019-03-21T16:16:37Z</dc:date>
    <item>
      <title>Are _N_ and _ERROR variables available during BY-group prcoessing?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Are-N-and-ERROR-variables-available-during-BY-group-prcoessing/m-p/544898#M150701</link>
      <description>&lt;P&gt;Here is the original question and answer:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which temporary variables are available for DATA step programming during BY-group processing only, but are not added to the data set?&lt;/P&gt;&lt;P&gt;a. FIRST.variable and LAST.variable&lt;/P&gt;&lt;P&gt;b. _N_ and _ERROR variables.&lt;/P&gt;&lt;P&gt;c. Both a and b.&lt;/P&gt;&lt;P&gt;d. None of the above.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Correct Answer: a&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Explanation in back of book:&lt;/P&gt;&lt;P&gt;In the DATA step, during BY-group processing only, the temporary variables FIRST.variable and LAST.variable are available for DATA step programming, but they do not appear in the output data set.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is why isn't the correct answer to be c?&lt;/P&gt;&lt;P&gt;1. Is it because it's asking for temporary variables and automatic variables doesn't count? If so, this question is lame.&lt;/P&gt;&lt;P&gt;2. Because they intentionally misspelled _ERROR_ and _ERROR in this case doesn't count? If so, this question is even more lame.&lt;/P&gt;&lt;P&gt;3. Or is it because _N_ and _ERROR_ aren't available for BY-group processing? If so, they really need to edit this book. Many improvements can be made.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help!&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2019 15:26:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Are-N-and-ERROR-variables-available-during-BY-group-prcoessing/m-p/544898#M150701</guid>
      <dc:creator>cosmid</dc:creator>
      <dc:date>2019-03-21T15:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: Are _N_ and _ERROR variables available during BY-group prcoessing?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Are-N-and-ERROR-variables-available-during-BY-group-prcoessing/m-p/544907#M150703</link>
      <description>&lt;P&gt;They are all available.&amp;nbsp; But you did not read the question carefully enough.&amp;nbsp; Which are available with BY group processing ONLY.&amp;nbsp; _N_ and _ERROR_ are available for all DATA steps, whether there is a BY statement or not.&amp;nbsp; FIRST. and LAST. are available only when there is a BY statement.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2019 15:45:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Are-N-and-ERROR-variables-available-during-BY-group-prcoessing/m-p/544907#M150703</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2019-03-21T15:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: Are _N_ and _ERROR variables available during BY-group prcoessing?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Are-N-and-ERROR-variables-available-during-BY-group-prcoessing/m-p/544924#M150711</link>
      <description>&lt;P&gt;Ahh...thanks for pointing that out! I was focused on the BY-group processing while the question was focused on the two variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will read questions more carefully next time. Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2019 16:16:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Are-N-and-ERROR-variables-available-during-BY-group-prcoessing/m-p/544924#M150711</guid>
      <dc:creator>cosmid</dc:creator>
      <dc:date>2019-03-21T16:16:37Z</dc:date>
    </item>
  </channel>
</rss>

