<?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 data sets that their names appear in help data set in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SET-data-sets-that-their-names-appear-in-help-data-set/m-p/614360#M179566</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159549"&gt;@Ronein&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to append all the datasets beginning by "tbl" of a library, you can directly do this by using the following code :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
	set tbl:;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Otherwise, if you want to append only some of these datasets (which are listed in the helptbl dataset), the solution provided by&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/259318"&gt;@Coooooo_Lee&lt;/a&gt;&amp;nbsp;would work.&lt;/P&gt;</description>
    <pubDate>Mon, 30 Dec 2019 09:18:30 GMT</pubDate>
    <dc:creator>ed_sas_member</dc:creator>
    <dc:date>2019-12-30T09:18:30Z</dc:date>
    <item>
      <title>SET data sets that their names appear in help data set</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SET-data-sets-that-their-names-appear-in-help-data-set/m-p/614343#M179561</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;I want to create a new data set by set multiple data sets that appear in&amp;nbsp; another data set.&lt;/P&gt;
&lt;P&gt;For example:&lt;/P&gt;
&lt;P&gt;in data set "helptbl" we can see the names of the data sets that will be in SET statement.&lt;/P&gt;
&lt;P&gt;What is the way to tell SAS to using these name for SET statement (without doing it manually...)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data helptbl;
input tblnames;
cards;
tbl190828
tbl190825
tbl190821
tbl190812
tbl190803
;
run;


Data tbl_all;
set tbl190828
tbl190825
tbl190821
tbl190812
tbl190803
;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 30 Dec 2019 06:12:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SET-data-sets-that-their-names-appear-in-help-data-set/m-p/614343#M179561</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2019-12-30T06:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: SET data sets that their names appear in help data set</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SET-data-sets-that-their-names-appear-in-help-data-set/m-p/614345#M179562</link>
      <description>&lt;P&gt;&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=lefunctionsref&amp;amp;docsetTarget=p1blnvlvciwgs9n0zcilud6d6ei9.htm&amp;amp;locale=en" target="_blank" rel="noopener"&gt;CALL EXECUTE&lt;/A&gt;&amp;nbsp;does this.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2019 06:49:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SET-data-sets-that-their-names-appear-in-help-data-set/m-p/614345#M179562</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-12-30T06:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: SET data sets that their names appear in help data set</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SET-data-sets-that-their-names-appear-in-help-data-set/m-p/614347#M179563</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data helptbl;
input tblnames $9.;
cards;
tbl190828
tbl190825
tbl190821
tbl190812
tbl190803
;
run;

proc sql noprint;
  select tblnames into :tname separated by ' ' from helptbl;
quit;

Data tbl_all;
set &amp;amp;tname.;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 30 Dec 2019 06:49:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SET-data-sets-that-their-names-appear-in-help-data-set/m-p/614347#M179563</guid>
      <dc:creator>Coooooo_Lee</dc:creator>
      <dc:date>2019-12-30T06:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: SET data sets that their names appear in help data set</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SET-data-sets-that-their-names-appear-in-help-data-set/m-p/614360#M179566</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159549"&gt;@Ronein&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to append all the datasets beginning by "tbl" of a library, you can directly do this by using the following code :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
	set tbl:;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Otherwise, if you want to append only some of these datasets (which are listed in the helptbl dataset), the solution provided by&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/259318"&gt;@Coooooo_Lee&lt;/a&gt;&amp;nbsp;would work.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2019 09:18:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SET-data-sets-that-their-names-appear-in-help-data-set/m-p/614360#M179566</guid>
      <dc:creator>ed_sas_member</dc:creator>
      <dc:date>2019-12-30T09:18:30Z</dc:date>
    </item>
  </channel>
</rss>

