<?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: sas in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Separate-positive-and-negative-values-into-their-own-variables/m-p/562254#M157491</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
   set ds1;
   if amt&amp;gt;=0 then pos=amt;
   else neg=amt;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 29 May 2019 13:04:21 GMT</pubDate>
    <dc:creator>Oligolas</dc:creator>
    <dc:date>2019-05-29T13:04:21Z</dc:date>
    <item>
      <title>Separate positive and negative values into their own variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Separate-positive-and-negative-values-into-their-own-variables/m-p/562249#M157490</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;
&lt;P&gt;using below data set create 2 more variable in that one variable contain positive values another one contain negative values&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data ds1;&lt;/P&gt;
&lt;P&gt;input id amt;&lt;/P&gt;
&lt;P&gt;cards;&lt;/P&gt;
&lt;P&gt;1 40&lt;/P&gt;
&lt;P&gt;3 20&lt;/P&gt;
&lt;P&gt;4 -10&lt;/P&gt;
&lt;P&gt;5 -30&lt;/P&gt;
&lt;P&gt;2 50&lt;/P&gt;
&lt;P&gt;6 -20&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;P&gt;run;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 16:26:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Separate-positive-and-negative-values-into-their-own-variables/m-p/562249#M157490</guid>
      <dc:creator>nayab_shaik</dc:creator>
      <dc:date>2019-05-29T16:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: sas</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Separate-positive-and-negative-values-into-their-own-variables/m-p/562254#M157491</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
   set ds1;
   if amt&amp;gt;=0 then pos=amt;
   else neg=amt;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 May 2019 13:04:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Separate-positive-and-negative-values-into-their-own-variables/m-p/562254#M157491</guid>
      <dc:creator>Oligolas</dc:creator>
      <dc:date>2019-05-29T13:04:21Z</dc:date>
    </item>
  </channel>
</rss>

