<?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 Reg:Minus in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Reg-Minus/m-p/59366#M16755</link>
    <description>Hi&lt;BR /&gt;
&lt;BR /&gt;
In a variable i am having 3 obs down,open,enter&lt;BR /&gt;
&lt;BR /&gt;
Data l;&lt;BR /&gt;
input name age;&lt;BR /&gt;
down 45&lt;BR /&gt;
open 67&lt;BR /&gt;
enter 89&lt;BR /&gt;
open 67&lt;BR /&gt;
down 45&lt;BR /&gt;
enter 90&lt;BR /&gt;
open 56&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
if down and continuing with open then down-open &lt;BR /&gt;
like that if enter continuing with open the enter-open  like that i want</description>
    <pubDate>Mon, 02 Aug 2010 15:50:43 GMT</pubDate>
    <dc:creator>sas_</dc:creator>
    <dc:date>2010-08-02T15:50:43Z</dc:date>
    <item>
      <title>Reg:Minus</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Reg-Minus/m-p/59366#M16755</link>
      <description>Hi&lt;BR /&gt;
&lt;BR /&gt;
In a variable i am having 3 obs down,open,enter&lt;BR /&gt;
&lt;BR /&gt;
Data l;&lt;BR /&gt;
input name age;&lt;BR /&gt;
down 45&lt;BR /&gt;
open 67&lt;BR /&gt;
enter 89&lt;BR /&gt;
open 67&lt;BR /&gt;
down 45&lt;BR /&gt;
enter 90&lt;BR /&gt;
open 56&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
if down and continuing with open then down-open &lt;BR /&gt;
like that if enter continuing with open the enter-open  like that i want</description>
      <pubDate>Mon, 02 Aug 2010 15:50:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Reg-Minus/m-p/59366#M16755</guid>
      <dc:creator>sas_</dc:creator>
      <dc:date>2010-08-02T15:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Reg:Minus</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Reg-Minus/m-p/59367#M16756</link>
      <description>Not sure about how the SUBJECT correlates to the post/message body.&lt;BR /&gt;
&lt;BR /&gt;
In a DATA step, if you need to "retain" an observation's value across DATA step passes, look at using a RETAIN statement to capture (with a SAS assignment statement), a temporary SAS variable, as required by your program.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
Suggested Google advanced search argument, this topic / post:&lt;BR /&gt;
&lt;BR /&gt;
programming intro data step retain site:sas.com</description>
      <pubDate>Mon, 02 Aug 2010 16:04:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Reg-Minus/m-p/59367#M16756</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-08-02T16:04:08Z</dc:date>
    </item>
  </channel>
</rss>

