<?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: Compute num of emp in each of the dept. after 10 year. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Compute-num-of-emp-in-each-of-the-dept-after-10-year/m-p/395497#M95406</link>
    <description>&lt;P&gt;i was trying to put a loop for increment but each of the observation have different increment numbers so how should proceed&lt;/P&gt;</description>
    <pubDate>Wed, 13 Sep 2017 12:35:37 GMT</pubDate>
    <dc:creator>Karan_Dumbre</dc:creator>
    <dc:date>2017-09-13T12:35:37Z</dc:date>
    <item>
      <title>Compute num of emp in each of the dept. after 10 year.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Compute-num-of-emp-in-each-of-the-dept-after-10-year/m-p/395487#M95401</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Write a SAS program to create a forecasting application to compute number of employees in each of the department of Orion Star after 10 years.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Below is the dataset&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 12:19:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Compute-num-of-emp-in-each-of-the-dept-after-10-year/m-p/395487#M95401</guid>
      <dc:creator>Karan_Dumbre</dc:creator>
      <dc:date>2017-09-13T12:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Compute num of emp in each of the dept. after 10 year.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Compute-num-of-emp-in-each-of-the-dept-after-10-year/m-p/395493#M95405</link>
      <description>&lt;P&gt;What have you tried so far?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 12:29:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Compute-num-of-emp-in-each-of-the-dept-after-10-year/m-p/395493#M95405</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2017-09-13T12:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Compute num of emp in each of the dept. after 10 year.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Compute-num-of-emp-in-each-of-the-dept-after-10-year/m-p/395497#M95406</link>
      <description>&lt;P&gt;i was trying to put a loop for increment but each of the observation have different increment numbers so how should proceed&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 12:35:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Compute-num-of-emp-in-each-of-the-dept-after-10-year/m-p/395497#M95406</guid>
      <dc:creator>Karan_Dumbre</dc:creator>
      <dc:date>2017-09-13T12:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: Compute num of emp in each of the dept. after 10 year.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Compute-num-of-emp-in-each-of-the-dept-after-10-year/m-p/395498#M95407</link>
      <description>&lt;P&gt;As&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/31304"&gt;@PeterClemmensen&lt;/a&gt;&amp;nbsp;has said, what have you tried? &amp;nbsp;Post test data in the form of a datastep in the post using a code window - its the {i}. &amp;nbsp;Post what the output should look like. &amp;nbsp;Supply any code you have tried, or logic you may want included.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 12:38:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Compute-num-of-emp-in-each-of-the-dept-after-10-year/m-p/395498#M95407</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-09-13T12:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: Compute num of emp in each of the dept. after 10 year.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Compute-num-of-emp-in-each-of-the-dept-after-10-year/m-p/395510#M95411</link>
      <description>&lt;PRE&gt;data g1;&lt;BR /&gt;set "/folders/myshortcuts/myfolder/Imarticus/prg2/growth.sas7bdat";&lt;BR /&gt;year = 0;&lt;BR /&gt;do while (year &amp;lt; = 10);&lt;BR /&gt; if _N_ = 1 then &lt;BR /&gt;  Total_employees + (total_employees * 0.25);&lt;BR /&gt; else if _N_ = 2 then&lt;BR /&gt;  Total_employees + (total_employees * 0.3);&lt;BR /&gt;  else if _N_ = 3 then&lt;BR /&gt;  Total_employees + (total_employees * 0.1);&lt;BR /&gt;  else if _N_ = 4 then&lt;BR /&gt;  Total_employees + (total_employees * 0.2);&lt;BR /&gt;  else if _N_ = 5 then&lt;BR /&gt;  Total_employees + (total_employees * 0.3);&lt;BR /&gt;  else if _N_ = 6 then&lt;BR /&gt;  Total_employees + (total_employees * 0.1);&lt;BR /&gt;end;&lt;BR /&gt;run;&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Sep 2017 12:50:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Compute-num-of-emp-in-each-of-the-dept-after-10-year/m-p/395510#M95411</guid>
      <dc:creator>Karan_Dumbre</dc:creator>
      <dc:date>2017-09-13T12:50:33Z</dc:date>
    </item>
  </channel>
</rss>

