<?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 running the same code on multiple data in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/running-the-same-code-on-multiple-data/m-p/401151#M97286</link>
    <description>&lt;P&gt;I have multiple datasets, I want to run the same code for each and then combine them in one dataset. Can do that in one step?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data a; set dx_md_01;&lt;/P&gt;&lt;P&gt;where name in (druga, drugb, drugc);&lt;/P&gt;&lt;P&gt;run;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data b; set dx_md_02;&lt;/P&gt;&lt;P&gt;where name in (druga,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;drugb,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;drugc);&lt;/P&gt;&lt;P&gt;run;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data c; set dx_md_03;&lt;/P&gt;&lt;P&gt;where name in (druga, drugb, drugc);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc append base= a data=b;run;&lt;/P&gt;&lt;P&gt;proc append base= a data=c;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Oct 2017 20:20:46 GMT</pubDate>
    <dc:creator>lillymaginta</dc:creator>
    <dc:date>2017-10-04T20:20:46Z</dc:date>
    <item>
      <title>running the same code on multiple data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/running-the-same-code-on-multiple-data/m-p/401151#M97286</link>
      <description>&lt;P&gt;I have multiple datasets, I want to run the same code for each and then combine them in one dataset. Can do that in one step?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data a; set dx_md_01;&lt;/P&gt;&lt;P&gt;where name in (druga, drugb, drugc);&lt;/P&gt;&lt;P&gt;run;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data b; set dx_md_02;&lt;/P&gt;&lt;P&gt;where name in (druga,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;drugb,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;drugc);&lt;/P&gt;&lt;P&gt;run;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data c; set dx_md_03;&lt;/P&gt;&lt;P&gt;where name in (druga, drugb, drugc);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc append base= a data=b;run;&lt;/P&gt;&lt;P&gt;proc append base= a data=c;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2017 20:20:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/running-the-same-code-on-multiple-data/m-p/401151#M97286</guid>
      <dc:creator>lillymaginta</dc:creator>
      <dc:date>2017-10-04T20:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: running the same code on multiple data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/running-the-same-code-on-multiple-data/m-p/401153#M97288</link>
      <description>&lt;PRE&gt;data all;
set dx_md_01 dx_md_02 dx_md_03;
where name in (druga, drugb, drugc);
run; &lt;/PRE&gt;</description>
      <pubDate>Wed, 04 Oct 2017 20:25:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/running-the-same-code-on-multiple-data/m-p/401153#M97288</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2017-10-04T20:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: running the same code on multiple data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/running-the-same-code-on-multiple-data/m-p/401162#M97295</link>
      <description>&lt;P&gt;Thank you!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2017 21:10:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/running-the-same-code-on-multiple-data/m-p/401162#M97295</guid>
      <dc:creator>lillymaginta</dc:creator>
      <dc:date>2017-10-04T21:10:25Z</dc:date>
    </item>
  </channel>
</rss>

