<?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: Set statement for concatenating multiple table in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Set-statement-for-concatenating-multiple-table/m-p/189304#M14498</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Don't be loopy.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;data table;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;set table_1 - table_5;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;run;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Or &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;to combine all tables that start with table_ use colon modifier.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;data table;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;set table_;;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Mar 2015 23:48:58 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2015-03-02T23:48:58Z</dc:date>
    <item>
      <title>Set statement for concatenating multiple table</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Set-statement-for-concatenating-multiple-table/m-p/189303#M14497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have below table and I want to create a single table out of that.&lt;/P&gt;&lt;P&gt;table_1,table_2,table_3,table_4,table_4,table_5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know I can use set statement in below way to concatenate it.&lt;/P&gt;&lt;P&gt;data table;&lt;/P&gt;&lt;P&gt;set table_1 table_2 table_3 table_4 table_4 table_5.;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but don't want to do like this. I want to combine it using loop so that I don't have to write every table name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2015 23:32:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Set-statement-for-concatenating-multiple-table/m-p/189303#M14497</guid>
      <dc:creator>PravinMishra</dc:creator>
      <dc:date>2015-03-02T23:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: Set statement for concatenating multiple table</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Set-statement-for-concatenating-multiple-table/m-p/189304#M14498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Don't be loopy.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;data table;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;set table_1 - table_5;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;run;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Or &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;to combine all tables that start with table_ use colon modifier.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;data table;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;set table_;;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2015 23:48:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Set-statement-for-concatenating-multiple-table/m-p/189304#M14498</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-03-02T23:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Set statement for concatenating multiple table</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Set-statement-for-concatenating-multiple-table/m-p/189305#M14499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where do you get the table names from? Depending on the way you do this, you could write a piece of code that creates the list of tables dynamically.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2015 07:37:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Set-statement-for-concatenating-multiple-table/m-p/189305#M14499</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2015-03-03T07:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: Set statement for concatenating multiple table</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Set-statement-for-concatenating-multiple-table/m-p/189306#M14500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you still want to try loop..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%macro table_create;&lt;/P&gt;&lt;P&gt;data&lt;/P&gt;&lt;P&gt;table&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;set&lt;/P&gt;&lt;P&gt;%do i = 1 %to 5&lt;/P&gt;&lt;P&gt;table_&amp;amp;i.&lt;/P&gt;&lt;P&gt;%end;&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;%mend table_create;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%table_create;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Karthik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2015 10:34:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Set-statement-for-concatenating-multiple-table/m-p/189306#M14500</guid>
      <dc:creator>Karthikeyan</dc:creator>
      <dc:date>2015-03-03T10:34:55Z</dc:date>
    </item>
  </channel>
</rss>

