<?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 SAS HADOOP procedure: Managing data in Hadoop is the first order in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-HADOOP-procedure-Managing-data-in-Hadoop-is-the-first-order/m-p/297192#M62381</link>
    <description>&lt;P&gt;I am rather a beginner in SAS. I have the following problem. Given is a big data set (my_time) which I imported into SAS looking as follows&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/4860iB3C6F36D46B49741/image-size/original?v=v2&amp;amp;px=-1" alt="sas_1.JPG" title="sas_1.JPG" border="0" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to implement the following algorithm for every account look for a status and if it is equal to &lt;STRONG&gt;na&lt;/STRONG&gt; then look for the same contract after one year (one year after it gets the status &lt;STRONG&gt;na&lt;/STRONG&gt;) and put the information "my_date", "status" and "money" in three new columns "new_my_date", "new_status" and "new_money" like in&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/4861i003B6AC1A5473EE3/image-size/original?v=v2&amp;amp;px=-1" alt="sas_2.JPG" title="sas_2.JPG" border="0" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I&lt;/P&gt;&lt;P&gt;need something like &lt;CODE&gt;countifs&lt;/CODE&gt; in excel. I found loops in SAS like &lt;A href="https://onlinecourses.science.psu.edu/stat481/node/41" rel="nofollow" target="_blank"&gt;DO&lt;/A&gt; but not for the purpose to look through all rows. I do not even know for which key word I have to look.&lt;/P&gt;&lt;P&gt;I would be grateful for any hint.&lt;/P&gt;</description>
    <pubDate>Thu, 08 Sep 2016 14:50:27 GMT</pubDate>
    <dc:creator>manisolimani</dc:creator>
    <dc:date>2016-09-08T14:50:27Z</dc:date>
    <item>
      <title>SAS HADOOP procedure: Managing data in Hadoop is the first order</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-HADOOP-procedure-Managing-data-in-Hadoop-is-the-first-order/m-p/297192#M62381</link>
      <description>&lt;P&gt;I am rather a beginner in SAS. I have the following problem. Given is a big data set (my_time) which I imported into SAS looking as follows&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/4860iB3C6F36D46B49741/image-size/original?v=v2&amp;amp;px=-1" alt="sas_1.JPG" title="sas_1.JPG" border="0" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to implement the following algorithm for every account look for a status and if it is equal to &lt;STRONG&gt;na&lt;/STRONG&gt; then look for the same contract after one year (one year after it gets the status &lt;STRONG&gt;na&lt;/STRONG&gt;) and put the information "my_date", "status" and "money" in three new columns "new_my_date", "new_status" and "new_money" like in&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/4861i003B6AC1A5473EE3/image-size/original?v=v2&amp;amp;px=-1" alt="sas_2.JPG" title="sas_2.JPG" border="0" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I&lt;/P&gt;&lt;P&gt;need something like &lt;CODE&gt;countifs&lt;/CODE&gt; in excel. I found loops in SAS like &lt;A href="https://onlinecourses.science.psu.edu/stat481/node/41" rel="nofollow" target="_blank"&gt;DO&lt;/A&gt; but not for the purpose to look through all rows. I do not even know for which key word I have to look.&lt;/P&gt;&lt;P&gt;I would be grateful for any hint.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2016 14:50:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-HADOOP-procedure-Managing-data-in-Hadoop-is-the-first-order/m-p/297192#M62381</guid>
      <dc:creator>manisolimani</dc:creator>
      <dc:date>2016-09-08T14:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: SAS HADOOP procedure: Managing data in Hadoop is the first order</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-HADOOP-procedure-Managing-data-in-Hadoop-is-the-first-order/m-p/297197#M62382</link>
      <description>&lt;P&gt;There are many ways to solve this.&lt;/P&gt;
&lt;P&gt;One could be to join the table with itself, with a join&amp;nbsp;condition&amp;nbsp;like a.year = year+1.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another would be some kind of data step processing using retain, but that would require the data to be sorted first.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What has PROC HADOOP to do with anything in your inquiry?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2016 15:26:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-HADOOP-procedure-Managing-data-in-Hadoop-is-the-first-order/m-p/297197#M62382</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-09-08T15:26:37Z</dc:date>
    </item>
  </channel>
</rss>

