<?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: Macro for importing multiple txt files with nonsequential names in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Macro-for-importing-multiple-txt-files-with-nonsequential-names/m-p/226998#M5451</link>
    <description>There are many macro's on here that do that.&lt;BR /&gt;If you wanted to limit your analysis in the future you could simply apply a WHERE clause in your analysis, otherwise you're going to be combining data sets. It's an inefficient way to work.&lt;BR /&gt;where file_used in (3, 6, 1002, 34568);&lt;BR /&gt;&lt;BR /&gt;That being said, yes, you obviously can write a macro, and that solution is on here many times over, you need to search for it :).&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/Base-SAS-Programming/convert-large-number-of-text-files-into-SAS-all-at-once/td-p/51521" target="_blank"&gt;https://communities.sas.com/t5/Base-SAS-Programming/convert-large-number-of-text-files-into-SAS-all-at-once/td-p/51521&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You can also search lexjansen.com for many papers written on the topic.&lt;BR /&gt;</description>
    <pubDate>Wed, 23 Sep 2015 21:44:49 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2015-09-23T21:44:49Z</dc:date>
    <item>
      <title>Macro for importing multiple txt files with nonsequential names</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Macro-for-importing-multiple-txt-files-with-nonsequential-names/m-p/226964#M5441</link>
      <description>&lt;P&gt;Hi guys!&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Today I was playing with some data and found out a problem. I have 5 data sets in txt format named roh_1.txt, roh_2.txt, roh_4.txt, roh_8.txt and roh_16.txt. It could also be any other number like _1, _3, _10, _11...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to make macro which will allow me to import those into SAS. I am familiar with infile option so no need for this part. I am posting code for import but this is not an issue. Of course I could rename files to be 1 to 5 but... Well I don't want to. Can you please give some hints.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;data file1 (drop = snp1 snp2 bp_position1 bp_position2 fid pheno nsnp gustp phom phet) ;&lt;BR /&gt;length bull_id $15. snp1 $50. snp2 $50. bp_position1 $12. bp_position2 $12.;&lt;BR /&gt;infile "C:\Users\MajaZmaja\Desktop\roh_4.txt" delimiter=" " firstobs=2;&lt;BR /&gt;input fid bull_id pheno $ chr snp1 &amp;nbsp;snp2 &amp;nbsp;bp_position1 &amp;nbsp;bp_position2 &amp;nbsp;kilobaza nsnp gustp phom phet @@;&lt;BR /&gt;run;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2015 19:18:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Macro-for-importing-multiple-txt-files-with-nonsequential-names/m-p/226964#M5441</guid>
      <dc:creator>MajaFerencakovic</dc:creator>
      <dc:date>2015-09-23T19:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: Macro for importing multiple txt files with nonsequential names</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Macro-for-importing-multiple-txt-files-with-nonsequential-names/m-p/226966#M5442</link>
      <description>&lt;P&gt;If the text files are all in one folder, you can try something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;infile "C:\Users\MajaZmaja\Desktop\*.txt" delimiter=" " firstobs=2;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2015 19:24:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Macro-for-importing-multiple-txt-files-with-nonsequential-names/m-p/226966#M5442</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2015-09-23T19:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: Macro for importing multiple txt files with nonsequential names</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Macro-for-importing-multiple-txt-files-with-nonsequential-names/m-p/226969#M5443</link>
      <description>&lt;P&gt;Will this approach produce 5 differently named sas data sets?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ok I will write like this knowing this is not correct&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data file_&amp;amp;i (drop = snp1 snp2 bp_position1 bp_position2 fid pheno nsnp gustp phom phet) ;
length bull_id $15. snp1 $50. snp2 $50. bp_position1 $12. bp_position2 $12.;
infile "C:\Users\MajaZmaja\Desktop\roh_&amp;amp;i.txt" delimiter=" " firstobs=2;
input fid bull_id $ pheno $ chr snp1 $ snp2 $ bp_position1 $ bp_position2 $ kilobaza nsnp gustp phom phet @@;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 23 Sep 2015 20:20:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Macro-for-importing-multiple-txt-files-with-nonsequential-names/m-p/226969#M5443</guid>
      <dc:creator>MajaFerencakovic</dc:creator>
      <dc:date>2015-09-23T20:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: Macro for importing multiple txt files with nonsequential names</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Macro-for-importing-multiple-txt-files-with-nonsequential-names/m-p/226978#M5444</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@MajaFerencakovic wrote:&lt;BR /&gt;&lt;P&gt;Will this approach produce 5 differently named sas data sets?&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;No, it does not, it produces one large data set that contains the contents of all 5 input files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, you can add the FILENAME= option to the INFILE statement, and then the name of the file that you read from is now a variable that you can choose to include in the output data set, and if needed, segregate the 5 input files that way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;infile "C:\Users\MajaZmaja\Desktop\*.txt" delimiter=" " firstobs=2 filename=whichfile;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;file_used=whichfile;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2015 19:43:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Macro-for-importing-multiple-txt-files-with-nonsequential-names/m-p/226978#M5444</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2015-09-23T19:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: Macro for importing multiple txt files with nonsequential names</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Macro-for-importing-multiple-txt-files-with-nonsequential-names/m-p/226984#M5446</link>
      <description>&lt;P&gt;well, it looks like I am not fit for this chalenge. Ok so in file1 i will get variable with path of the file... Then I should again manually extract files out.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is not what would be useful here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your effort&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2015 20:08:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Macro-for-importing-multiple-txt-files-with-nonsequential-names/m-p/226984#M5446</guid>
      <dc:creator>MajaFerencakovic</dc:creator>
      <dc:date>2015-09-23T20:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: Macro for importing multiple txt files with nonsequential names</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Macro-for-importing-multiple-txt-files-with-nonsequential-names/m-p/226987#M5447</link>
      <description>&lt;P&gt;The wild card (*) tells SAS to read all files that fit the condition.&amp;nbsp;&lt;/P&gt;&lt;P&gt;You'll get all files input into a single SAS data set with a new variable, file_used, which indicates which file the observation came from. If you need to split it out further there are many ways, but are you sure you need to, if they all have the same structure?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS. Please embed&amp;nbsp;your code using the little running man icon at the top of the editor, which will format the code as SAS code. It makes it more readable.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2015 20:16:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Macro-for-importing-multiple-txt-files-with-nonsequential-names/m-p/226987#M5447</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-09-23T20:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: Macro for importing multiple txt files with nonsequential names</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Macro-for-importing-multiple-txt-files-with-nonsequential-names/m-p/226989#M5448</link>
      <description>&lt;P&gt;I am sure I have to split it for further analysis and merging with other files &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Regarding this new variable I only got "C:\Users" under variable&amp;nbsp;&lt;SPAN&gt; file_used&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2015 20:18:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Macro-for-importing-multiple-txt-files-with-nonsequential-names/m-p/226989#M5448</guid>
      <dc:creator>MajaFerencakovic</dc:creator>
      <dc:date>2015-09-23T20:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Macro for importing multiple txt files with nonsequential names</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Macro-for-importing-multiple-txt-files-with-nonsequential-names/m-p/226990#M5449</link>
      <description>&lt;P&gt;You probably need a statement like this before FILE_USED is defined.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LENGTH FILE_USED $ 256;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2015 20:22:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Macro-for-importing-multiple-txt-files-with-nonsequential-names/m-p/226990#M5449</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2015-09-23T20:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Macro for importing multiple txt files with nonsequential names</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Macro-for-importing-multiple-txt-files-with-nonsequential-names/m-p/226993#M5450</link>
      <description>&lt;P&gt;Guys, please, is there a way to do this trough do loop?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The way you are proposing is fine for putting everything together.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Somethimes I will need to enter my "resultfile" and I would need files _3, _6, _1002, _34568. Or some other combination from some 40000 result files. &amp;nbsp;So I would like to write code that will allow me to specify which ones I need and will import them and save them as separate sas data files&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2015 20:28:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Macro-for-importing-multiple-txt-files-with-nonsequential-names/m-p/226993#M5450</guid>
      <dc:creator>MajaFerencakovic</dc:creator>
      <dc:date>2015-09-23T20:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Macro for importing multiple txt files with nonsequential names</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Macro-for-importing-multiple-txt-files-with-nonsequential-names/m-p/226998#M5451</link>
      <description>There are many macro's on here that do that.&lt;BR /&gt;If you wanted to limit your analysis in the future you could simply apply a WHERE clause in your analysis, otherwise you're going to be combining data sets. It's an inefficient way to work.&lt;BR /&gt;where file_used in (3, 6, 1002, 34568);&lt;BR /&gt;&lt;BR /&gt;That being said, yes, you obviously can write a macro, and that solution is on here many times over, you need to search for it :).&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/Base-SAS-Programming/convert-large-number-of-text-files-into-SAS-all-at-once/td-p/51521" target="_blank"&gt;https://communities.sas.com/t5/Base-SAS-Programming/convert-large-number-of-text-files-into-SAS-all-at-once/td-p/51521&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You can also search lexjansen.com for many papers written on the topic.&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Sep 2015 21:44:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Macro-for-importing-multiple-txt-files-with-nonsequential-names/m-p/226998#M5451</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-09-23T21:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: Macro for importing multiple txt files with nonsequential names</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Macro-for-importing-multiple-txt-files-with-nonsequential-names/m-p/227001#M5452</link>
      <description>&lt;P&gt;Sorry, I am usually finding advises here and they were always helpful, however, I dont get this one at all. Must be that my knowledge (lack of it) is a problem&lt;/P&gt;
&lt;P&gt;If I use command like you guys suggested I don't get variable like you said I will, no mather what lenght of variable I define. I don't get the whole path so I guess I can't use WHERE.&lt;/P&gt;
&lt;P&gt;I was more thinking on defining numbers I need in&lt;/P&gt;
&lt;P&gt;%let something = 1 2 5 10;&lt;/P&gt;
&lt;P&gt;%macro somethingelse;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;like here&amp;nbsp;&lt;A href="http://stackoverflow.com/questions/11289027/do-loop-with-unequal-increment" target="_blank"&gt;http://stackoverflow.com/questions/11289027/do-loop-with-unequal-increment&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However I did not managed this one to work because this count is producing problems.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ideas?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2015 22:04:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Macro-for-importing-multiple-txt-files-with-nonsequential-names/m-p/227001#M5452</guid>
      <dc:creator>MajaFerencakovic</dc:creator>
      <dc:date>2015-09-23T22:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Macro for importing multiple txt files with nonsequential names</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Macro-for-importing-multiple-txt-files-with-nonsequential-names/m-p/227002#M5453</link>
      <description>&lt;P&gt;The basic idea of how to loop over an arbitrary list of values in macro code is store the list of values as a delimited list in a macro variable and then iterate from 1 to the number of items in the list using the %SCAN() function to pick out the next item.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%macro do_over(list);
%local i item ;
%do i=1 %to %sysfunc(countw(&amp;amp;list));
   %let item=%scan(&amp;amp;list,&amp;amp;i);
... put the code to replicated here ...
%end;
%mend do_over;

%do_over(a1 a3 a457);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 23 Sep 2015 22:12:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Macro-for-importing-multiple-txt-files-with-nonsequential-names/m-p/227002#M5453</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2015-09-23T22:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: Macro for importing multiple txt files with nonsequential names</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Macro-for-importing-multiple-txt-files-with-nonsequential-names/m-p/227008#M5454</link>
      <description>&lt;P&gt;Ok, this works partly. For example I did this and for first two was ok&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%macro do_over(list);
%local i item ;
%do i=1 %to %sysfunc(countw(&amp;amp;list));
   %let item=%scan(&amp;amp;list,&amp;amp;i);
data file_&amp;amp;i (drop = snp1 snp2 bp_position1 bp_position2 fid pheno nsnp gustp phom phet) ;
length bull_id $15. snp1 $50. snp2 $50. bp_position1 $12. bp_position2 $12.;
infile "C:\Users\Maja Zmaja\Desktop\ASD2015\Btauroh_&amp;amp;i" delimiter=" " firstobs=2;
input fid $ bull_id $ pheno $ chr  snp1 $ snp2 $ bp_position1 $ bp_position2 $ kilobaza nsnp gustp phom phet @@;
run;
%end;
%mend do_over;


%do_over(1 2 8);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But then I got this &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ERROR: Physical file does not exist, C:\Users\Maja Zmaja\Desktop\ASD2015\Btauroh_3.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;And what ever combination I put in list I get the same result. I tried&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%do_over(4 8);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and still obtained data from&amp;nbsp;&lt;SPAN&gt;Btauroh_1 and&amp;nbsp;Btauroh_2 and that was it&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2015 22:40:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Macro-for-importing-multiple-txt-files-with-nonsequential-names/m-p/227008#M5454</guid>
      <dc:creator>MajaFerencakovic</dc:creator>
      <dc:date>2015-09-23T22:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: Macro for importing multiple txt files with nonsequential names</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Macro-for-importing-multiple-txt-files-with-nonsequential-names/m-p/227011#M5455</link>
      <description>That's easy. You are referencing the index number instead of the value. In your code use &amp;amp;ITEM to get the value of the current item, not &amp;amp;I which will the order of the item in the list.</description>
      <pubDate>Wed, 23 Sep 2015 23:24:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Macro-for-importing-multiple-txt-files-with-nonsequential-names/m-p/227011#M5455</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2015-09-23T23:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Macro for importing multiple txt files with nonsequential names</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Macro-for-importing-multiple-txt-files-with-nonsequential-names/m-p/227020#M5456</link>
      <description>&lt;P&gt;Here's an example that does almost exactly what you are looking for:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/41/880.html" target="_blank"&gt;http://support.sas.com/kb/41/880.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You may need to tweak the name pattern that you are looking for, or the processing for each file. &amp;nbsp;But the concept is very much what you are asking for.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2015 01:15:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Macro-for-importing-multiple-txt-files-with-nonsequential-names/m-p/227020#M5456</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2015-09-24T01:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: Macro for importing multiple txt files with nonsequential names</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Macro-for-importing-multiple-txt-files-with-nonsequential-names/m-p/227026#M5457</link>
      <description>&lt;P&gt;Yes! Thank you!&lt;/P&gt;
&lt;P&gt;I was not aware that I did not change the &amp;amp;i to &amp;amp;item.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This works great&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2015 03:56:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Macro-for-importing-multiple-txt-files-with-nonsequential-names/m-p/227026#M5457</guid>
      <dc:creator>MajaFerencakovic</dc:creator>
      <dc:date>2015-09-24T03:56:43Z</dc:date>
    </item>
  </channel>
</rss>

