<?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: union query in SAS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/union-query-in-SAS/m-p/741511#M231801</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/202329"&gt;@GN0001&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;SASKiwi,&lt;BR /&gt;Does this take care of stacking data on top of each other?&lt;BR /&gt;Does this return all duplicated observations?&lt;BR /&gt;Regards,&lt;BR /&gt;Blue Blue&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;It stacks all of the data including duplicate observations.&lt;/P&gt;</description>
    <pubDate>Fri, 14 May 2021 16:56:27 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2021-05-14T16:56:27Z</dc:date>
    <item>
      <title>union query in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/union-query-in-SAS/m-p/741298#M231712</link>
      <description>&lt;P&gt;Hello team,&lt;/P&gt;
&lt;P&gt;I have 6 tables that they have same variable names:&lt;/P&gt;
&lt;P&gt;MembrID Name diagcode1 diagcode2;&lt;/P&gt;
&lt;P&gt;I want to append these table like union query in Microsoft Access.&lt;/P&gt;
&lt;P&gt;-How can I get there if I want to create a loop and goes through the name of the tables? The tables share same libname.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Respectfully,&lt;/P&gt;
&lt;P&gt;Blue Blue&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 23:12:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/union-query-in-SAS/m-p/741298#M231712</guid>
      <dc:creator>GN0001</dc:creator>
      <dc:date>2021-05-13T23:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: union query in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/union-query-in-SAS/m-p/741310#M231715</link>
      <description>&lt;P&gt;DATA step is easiest:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
  set MyLib.have1 MyLib.have2 MyLib.have3 MyLib.have4 MyLib.have5 MyLib.have6;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 13 May 2021 23:58:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/union-query-in-SAS/m-p/741310#M231715</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-05-13T23:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: union query in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/union-query-in-SAS/m-p/741312#M231716</link>
      <description>&lt;P&gt;And if the names of the data sets are actually "nice" enough to use lists:&lt;/P&gt;
&lt;LI-CODE lang="sas"&gt;data want;
  set MyLib.have1 - MyLib.have6;
run;&lt;/LI-CODE&gt;
&lt;P&gt;Or&lt;/P&gt;
&lt;LI-CODE lang="sas"&gt;data want;
  set MyLib.have: ;
run;&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 14 May 2021 00:02:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/union-query-in-SAS/m-p/741312#M231716</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-05-14T00:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: union query in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/union-query-in-SAS/m-p/741351#M231739</link>
      <description>SASKiwi,&lt;BR /&gt;Does this take care of stacking data on top of each other?&lt;BR /&gt;Does this return all duplicated observations?&lt;BR /&gt;Regards,&lt;BR /&gt;Blue Blue</description>
      <pubDate>Fri, 14 May 2021 05:18:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/union-query-in-SAS/m-p/741351#M231739</guid>
      <dc:creator>GN0001</dc:creator>
      <dc:date>2021-05-14T05:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: union query in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/union-query-in-SAS/m-p/741511#M231801</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/202329"&gt;@GN0001&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;SASKiwi,&lt;BR /&gt;Does this take care of stacking data on top of each other?&lt;BR /&gt;Does this return all duplicated observations?&lt;BR /&gt;Regards,&lt;BR /&gt;Blue Blue&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;It stacks all of the data including duplicate observations.&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 16:56:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/union-query-in-SAS/m-p/741511#M231801</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-05-14T16:56:27Z</dc:date>
    </item>
  </channel>
</rss>

