<?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: SAS Cert Prep Guide 4th edition; quiz question explanation in SAS Certification</title>
    <link>https://communities.sas.com/t5/SAS-Certification/SAS-Cert-Prep-Guide-4th-edition-quiz-question-explanation/m-p/511340#M495</link>
    <description>&lt;P&gt;Now i see that libref in question (sasuer) and libref in code (sasuser) are different. But i believe it is a typo.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yeah, there is a lot of mistakes in quiz, even if you include errata:&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.sas.com/en/books/content-updates-base-prep-guide-4th-edition.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://support.sas.com/en/books/content-updates-base-prep-guide-4th-edition.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just hope that real exam will not have those errors.&lt;/P&gt;</description>
    <pubDate>Thu, 08 Nov 2018 11:32:29 GMT</pubDate>
    <dc:creator>tino86</dc:creator>
    <dc:date>2018-11-08T11:32:29Z</dc:date>
    <item>
      <title>SAS Cert Prep Guide 4th edition; quiz question explanation</title>
      <link>https://communities.sas.com/t5/SAS-Certification/SAS-Cert-Prep-Guide-4th-edition-quiz-question-explanation/m-p/511310#M492</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;In&amp;nbsp;SAS Certification Prep Guide: Base Programming for SAS9 4th edition, there is a quiz question in ch 12:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;6.Assuming that the data set Sasuer.Usa has five or more observations, what is the result of submitting the following program?&lt;/P&gt;&lt;P&gt;data work.getobs5;&lt;BR /&gt;obsnum=5;&lt;BR /&gt;set sasuser.usa(keep=manager payroll) point=obsnum;&lt;BR /&gt;output;&lt;BR /&gt;stop;&lt;BR /&gt;run;&lt;BR /&gt;a.an error&lt;BR /&gt;b.an empty data set&lt;BR /&gt;c.a continuous loop&lt;BR /&gt;d.a data set that contains one observation&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was convinced that "d" is the correct answer, but answer says:&lt;/P&gt;&lt;P&gt;"6. Correct answer: a&lt;BR /&gt;When you use the KEEP= data set option and the POINT= option with the OUTPUT&lt;BR /&gt;and STOP statements, your program cannot write out a single observation."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is why this this program doesn't output exactly 1 observation?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Nov 2018 07:49:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Certification/SAS-Cert-Prep-Guide-4th-edition-quiz-question-explanation/m-p/511310#M492</guid>
      <dc:creator>tino86</dc:creator>
      <dc:date>2018-11-08T07:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Cert Prep Guide 4th edition; quiz question explanation</title>
      <link>https://communities.sas.com/t5/SAS-Certification/SAS-Cert-Prep-Guide-4th-edition-quiz-question-explanation/m-p/511318#M493</link>
      <description>&lt;P&gt;d) has to be the correct answer, as this log shows:&lt;/P&gt;
&lt;PRE&gt;27         data work.getobs5;
28         obsnum=5;
29         set sashelp.class (keep=name age) point=obsnum;
30         output;
31         stop;
32         run;

NOTE: The data set WORK.GETOBS5 has 1 observations and 2 variables.
NOTE: DATA statement used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds
&lt;/PRE&gt;</description>
      <pubDate>Thu, 08 Nov 2018 08:41:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Certification/SAS-Cert-Prep-Guide-4th-edition-quiz-question-explanation/m-p/511318#M493</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-11-08T08:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Cert Prep Guide 4th edition; quiz question explanation</title>
      <link>https://communities.sas.com/t5/SAS-Certification/SAS-Cert-Prep-Guide-4th-edition-quiz-question-explanation/m-p/511324#M494</link>
      <description>&lt;P&gt;Also, the book's explanation for the "correct answer" is anything but convincing. It's not the only error in that edition: see, e.g., &lt;A href="https://communities.sas.com/t5/SAS-Programming/SAS-Prep-Guide-SAS-9-4th-edition-question-on-Ch-13-quiz/td-p/453668" target="_blank"&gt;SAS Prep Guide SAS 9 4th edition question on Ch 13 quiz&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;There is, however, a possibility of getting &lt;EM&gt;both&lt;/EM&gt; an error (a)&amp;nbsp;&lt;EM&gt;and&lt;/EM&gt; an empty data set (b): if &lt;FONT face="courier new,courier"&gt;sasuser.usa&lt;/FONT&gt; does not contain variables &lt;FONT face="courier new,courier"&gt;manager&lt;/FONT&gt; and &lt;FONT face="courier new,courier"&gt;payroll&lt;/FONT&gt;. In addition, the assumption "has five or more observations" was made about a different dataset: Sas&lt;FONT color="#FF0000"&gt;&lt;U&gt;ue&lt;/U&gt;&lt;/FONT&gt;r.Usa.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Nov 2018 09:00:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Certification/SAS-Cert-Prep-Guide-4th-edition-quiz-question-explanation/m-p/511324#M494</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2018-11-08T09:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Cert Prep Guide 4th edition; quiz question explanation</title>
      <link>https://communities.sas.com/t5/SAS-Certification/SAS-Cert-Prep-Guide-4th-edition-quiz-question-explanation/m-p/511340#M495</link>
      <description>&lt;P&gt;Now i see that libref in question (sasuer) and libref in code (sasuser) are different. But i believe it is a typo.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yeah, there is a lot of mistakes in quiz, even if you include errata:&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.sas.com/en/books/content-updates-base-prep-guide-4th-edition.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://support.sas.com/en/books/content-updates-base-prep-guide-4th-edition.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just hope that real exam will not have those errors.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Nov 2018 11:32:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Certification/SAS-Cert-Prep-Guide-4th-edition-quiz-question-explanation/m-p/511340#M495</guid>
      <dc:creator>tino86</dc:creator>
      <dc:date>2018-11-08T11:32:29Z</dc:date>
    </item>
  </channel>
</rss>

