<?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: Need some help in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Need-some-help/m-p/62327#M17730</link>
    <description>hi thanks very much</description>
    <pubDate>Thu, 05 May 2011 05:24:46 GMT</pubDate>
    <dc:creator>IV</dc:creator>
    <dc:date>2011-05-05T05:24:46Z</dc:date>
    <item>
      <title>Need some help</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Need-some-help/m-p/62325#M17728</link>
      <description>Hi guys&lt;BR /&gt;
&lt;BR /&gt;
I need some help with a question coming from SAS base exam.&lt;BR /&gt;
&lt;BR /&gt;
The following SAS program is submitted:&lt;BR /&gt;
&lt;BR /&gt;
data work.total;&lt;BR /&gt;
set work.salary(keep = department wagerate);&lt;BR /&gt;
by department;&lt;BR /&gt;
if first.department then payroll = 0;&lt;BR /&gt;
payroll + wagerate;&lt;BR /&gt;
if last.department;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Question:&lt;BR /&gt;
The SAS data set WORK.SALARY, currently ordered by DEPARTMENT, contains 100 observations for each of 5 departments. Which one of the following represents how many observations the WORK.TOTAL data set contains?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
From what i seen the answer is 5.&lt;BR /&gt;
&lt;BR /&gt;
But i really need some explaination on this.&lt;BR /&gt;
&lt;BR /&gt;
thanks in advance&lt;BR /&gt;
&lt;BR /&gt;
IV</description>
      <pubDate>Thu, 05 May 2011 04:02:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Need-some-help/m-p/62325#M17728</guid>
      <dc:creator>IV</dc:creator>
      <dc:date>2011-05-05T04:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: Need some help</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Need-some-help/m-p/62326#M17729</link>
      <description>Yes .it is five.&lt;BR /&gt;
because&lt;BR /&gt;
if last.department; means if last.department then output; So only five obs be output.&lt;BR /&gt;
&lt;BR /&gt;
Ksharp</description>
      <pubDate>Thu, 05 May 2011 04:41:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Need-some-help/m-p/62326#M17729</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2011-05-05T04:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: Need some help</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Need-some-help/m-p/62327#M17730</link>
      <description>hi thanks very much</description>
      <pubDate>Thu, 05 May 2011 05:24:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Need-some-help/m-p/62327#M17730</guid>
      <dc:creator>IV</dc:creator>
      <dc:date>2011-05-05T05:24:46Z</dc:date>
    </item>
  </channel>
</rss>

