<?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: Multiple rows with if then statement in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Multiple-rows-with-if-then-statement/m-p/861709#M340365</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
    set have;
    if description='Xyz' then do;
       newcolumn='abc';
       output;
       newcolumn='def';
       output;
    end;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 01 Mar 2023 11:29:24 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2023-03-01T11:29:24Z</dc:date>
    <item>
      <title>Multiple rows with if then statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multiple-rows-with-if-then-statement/m-p/861707#M340363</link>
      <description>Hi, &lt;BR /&gt;I want to generate 2 rows with single if else statement&lt;BR /&gt;E.g.&lt;BR /&gt;If Description='Xyz' then new column='abc' and in the second row it should be 'def'&lt;BR /&gt;Please help me on this&lt;BR /&gt;&lt;BR /&gt;Regards, &lt;BR /&gt;Harsh</description>
      <pubDate>Wed, 01 Mar 2023 11:00:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multiple-rows-with-if-then-statement/m-p/861707#M340363</guid>
      <dc:creator>harshpatel</dc:creator>
      <dc:date>2023-03-01T11:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple rows with if then statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multiple-rows-with-if-then-statement/m-p/861709#M340365</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
    set have;
    if description='Xyz' then do;
       newcolumn='abc';
       output;
       newcolumn='def';
       output;
    end;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 01 Mar 2023 11:29:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multiple-rows-with-if-then-statement/m-p/861709#M340365</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-03-01T11:29:24Z</dc:date>
    </item>
  </channel>
</rss>

