<?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: Problem with prep question in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Problem-with-prep-question/m-p/319223#M70050</link>
    <description>Answer D uses the "+" operator which produces a missing value if one of the operands is missing.&lt;BR /&gt;The 0 in the retain statement only provides an initialization which is overwritten by the operation.</description>
    <pubDate>Thu, 15 Dec 2016 10:43:55 GMT</pubDate>
    <dc:creator>gamotte</dc:creator>
    <dc:date>2016-12-15T10:43:55Z</dc:date>
    <item>
      <title>Problem with prep question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-with-prep-question/m-p/319219#M70046</link>
      <description>&lt;P&gt;Hi, I'm preparing for my Base Programming Exam and I'm stuck with one question from the Pass4Sure catalogue. The explanation doesn't really help:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/6385iC435C4084BBF1596/image-size/original?v=v2&amp;amp;px=-1" alt="Unbenannt.PNG" title="Unbenannt.PNG" width="527" height="357" border="0" /&gt;&lt;/P&gt;&lt;P&gt;The right answer is A. While I do understand why A doesn't produce a missing value in the last observation, I don't get why any of the other options should. I've pondered over this one for a while now but I'm not getting further. Especially option D should effectively do the same as A in my opinion.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would appreciate your help!&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2016 10:33:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-with-prep-question/m-p/319219#M70046</guid>
      <dc:creator>papertrail</dc:creator>
      <dc:date>2016-12-15T10:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with prep question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-with-prep-question/m-p/319222#M70049</link>
      <description>&lt;P&gt;options B and D use a simple totquantity + quantity calculation; they cause no automatic retain, always reference a missing value (totquantity), therefore the result will be missing.&lt;/P&gt;
&lt;P&gt;option C is a simple syntax error.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2016 10:42:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-with-prep-question/m-p/319222#M70049</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-12-15T10:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with prep question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-with-prep-question/m-p/319223#M70050</link>
      <description>Answer D uses the "+" operator which produces a missing value if one of the operands is missing.&lt;BR /&gt;The 0 in the retain statement only provides an initialization which is overwritten by the operation.</description>
      <pubDate>Thu, 15 Dec 2016 10:43:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-with-prep-question/m-p/319223#M70050</guid>
      <dc:creator>gamotte</dc:creator>
      <dc:date>2016-12-15T10:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with prep question</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Problem-with-prep-question/m-p/319224#M70051</link>
      <description>&lt;P&gt;Now I get it, thanks a lot!&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2016 10:44:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Problem-with-prep-question/m-p/319224#M70051</guid>
      <dc:creator>papertrail</dc:creator>
      <dc:date>2016-12-15T10:44:14Z</dc:date>
    </item>
  </channel>
</rss>

