<?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: Keep vs Retain Statement in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Keep-vs-Retain-Statement/m-p/318337#M69737</link>
    <description>&lt;P&gt;keeps refers to the variable beeing read or written in the dataset&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;retain stores the value of a variable between observations, it&amp;nbsp;surpresses reseting of the variable&lt;/P&gt;</description>
    <pubDate>Mon, 12 Dec 2016 18:00:34 GMT</pubDate>
    <dc:creator>chrej5am</dc:creator>
    <dc:date>2016-12-12T18:00:34Z</dc:date>
    <item>
      <title>Keep vs Retain Statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Keep-vs-Retain-Statement/m-p/318336#M69736</link>
      <description>&lt;P&gt;Could someone tell me the difference between Keep and Retain statements for SAS?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2016 17:56:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Keep-vs-Retain-Statement/m-p/318336#M69736</guid>
      <dc:creator>DMMD</dc:creator>
      <dc:date>2016-12-12T17:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: Keep vs Retain Statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Keep-vs-Retain-Statement/m-p/318337#M69737</link>
      <description>&lt;P&gt;keeps refers to the variable beeing read or written in the dataset&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;retain stores the value of a variable between observations, it&amp;nbsp;surpresses reseting of the variable&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2016 18:00:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Keep-vs-Retain-Statement/m-p/318337#M69737</guid>
      <dc:creator>chrej5am</dc:creator>
      <dc:date>2016-12-12T18:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: Keep vs Retain Statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Keep-vs-Retain-Statement/m-p/318338#M69738</link>
      <description>&lt;P&gt;In addition ot &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/42231"&gt;@chrej5am&lt;/a&gt;, Keep (and Drop) can be a data set option and used anywhere a dataset is used to restrict the variables used by a procedure. Retain is only valid in a data step.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2016 18:04:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Keep-vs-Retain-Statement/m-p/318338#M69738</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-12-12T18:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: Keep vs Retain Statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Keep-vs-Retain-Statement/m-p/318488#M69783</link>
      <description>&lt;P&gt;Adding to what &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/42231"&gt;@chrej5am&lt;/a&gt; said, &lt;FONT face="courier new,courier"&gt;retain&lt;/FONT&gt; works reliably only with newly created variables. Variables that are already present in the input dataset(s) will be overwritten anytime a new observation is read.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 08:13:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Keep-vs-Retain-Statement/m-p/318488#M69783</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-12-13T08:13:38Z</dc:date>
    </item>
  </channel>
</rss>

