<?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: How to merge 19 datasets into one in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-merge-19-datasets-into-one/m-p/534002#M146458</link>
    <description>&lt;P&gt;You do not merge those datasets, but stack them, and add a variable for the period (SAS date preferred). The resulting vertical (long) dataset will be ideal for further processing.&lt;/P&gt;</description>
    <pubDate>Fri, 08 Feb 2019 16:38:39 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2019-02-08T16:38:39Z</dc:date>
    <item>
      <title>How to merge 19 datasets into one</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-merge-19-datasets-into-one/m-p/533995#M146456</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have collected patients demographic characteristics for 19 months (from Dec. 2016-June 2018). Each month has its own dataset and the patients are not likely to be same people.&amp;nbsp;Each dataset contains patient ID, sex, race, each month we approximately have 500-1000 patients.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I combine these 19 datasets into one?&amp;nbsp;Writing the merge statement for 10+ times or sql? Any better idea? Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2019 16:21:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-merge-19-datasets-into-one/m-p/533995#M146456</guid>
      <dc:creator>Denali</dc:creator>
      <dc:date>2019-02-08T16:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge 19 datasets into one</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-merge-19-datasets-into-one/m-p/534002#M146458</link>
      <description>&lt;P&gt;You do not merge those datasets, but stack them, and add a variable for the period (SAS date preferred). The resulting vertical (long) dataset will be ideal for further processing.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2019 16:38:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-merge-19-datasets-into-one/m-p/534002#M146458</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-02-08T16:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge 19 datasets into one</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-merge-19-datasets-into-one/m-p/534006#M146459</link>
      <description>&lt;P&gt;I added a variable called "Month" so it will be 1-19 month when I stack them. My question is how do I easily stack 19 datasets?&lt;/P&gt;&lt;P&gt;Should I use "set" for 18 times?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2019 16:48:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-merge-19-datasets-into-one/m-p/534006#M146459</guid>
      <dc:creator>Denali</dc:creator>
      <dc:date>2019-02-08T16:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge 19 datasets into one</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-merge-19-datasets-into-one/m-p/534010#M146460</link>
      <description>&lt;P&gt;Only one set, and if you have clever names, you can use a wildcard:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
set mydata:;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;eg if your datasets were work.mydata1 to work.mydata19.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2019 17:01:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-merge-19-datasets-into-one/m-p/534010#M146460</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-02-08T17:01:10Z</dc:date>
    </item>
  </channel>
</rss>

