<?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: Read Multiple text files at a time in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Read-Multiple-text-files-at-a-time/m-p/701443#M214809</link>
    <description>&lt;P&gt;If you want answers, provide information. What sort of reply is this?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This error message is not even accurate, and has nothing to do with the issue described so far.&lt;/P&gt;
&lt;P&gt;Show us the log. Describe the problem. Provide the exact code used. Help us help you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 06:15:20 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2020-11-25T06:15:20Z</dc:date>
    <item>
      <title>Read Multiple text files at a time</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Read-Multiple-text-files-at-a-time/m-p/701436#M214803</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/*Read multiple txt files*/

/*Method One*/

filename t 'C:\Users\Anand\Desktop\Pandas_rawdata\multiplefilesforreading\*.txt'		;
	data multi;
	infile t;
	input Name$ Sex$ Age $Height$ Weight$;
	proc print;run;


/*Method Two*/
%macro import_multitext(fname);

proc import 
datafile="C:\Users\Anand\Desktop\Pandas_rawdata\multiplefilesforreading/&amp;amp;fname..txt"
out=imptext.&amp;amp;fname.
dbms=tab
replace
;
run;

%mend;
%import_multitext(Class_1.txt);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Here I am trying to read text files at&amp;nbsp; at time&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got problem in 1st method&amp;nbsp; &amp;nbsp;variables names also get two times&lt;/P&gt;&lt;P&gt;and 2nd method i didn't get output&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 04:47:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Read-Multiple-text-files-at-a-time/m-p/701436#M214803</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2020-11-25T04:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: Read Multiple text files at a time</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Read-Multiple-text-files-at-a-time/m-p/701441#M214807</link>
      <description>&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;nbsp;I got problem in 1st method&amp;nbsp; &amp;nbsp;variables names also get two times&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;I do not understand&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;nbsp;and 2nd method i didn't get output&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Unsurprising.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;%import_multitext(Class_1);&lt;/LI-CODE&gt;
&lt;P&gt;might work better.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 05:47:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Read-Multiple-text-files-at-a-time/m-p/701441#M214807</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-11-25T05:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: Read Multiple text files at a time</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Read-Multiple-text-files-at-a-time/m-p/701442#M214808</link>
      <description>Error Libname not assign</description>
      <pubDate>Wed, 25 Nov 2020 05:54:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Read-Multiple-text-files-at-a-time/m-p/701442#M214808</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2020-11-25T05:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: Read Multiple text files at a time</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Read-Multiple-text-files-at-a-time/m-p/701443#M214809</link>
      <description>&lt;P&gt;If you want answers, provide information. What sort of reply is this?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This error message is not even accurate, and has nothing to do with the issue described so far.&lt;/P&gt;
&lt;P&gt;Show us the log. Describe the problem. Provide the exact code used. Help us help you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 06:15:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Read-Multiple-text-files-at-a-time/m-p/701443#M214809</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-11-25T06:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Read Multiple text files at a time</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Read-Multiple-text-files-at-a-time/m-p/701449#M214811</link>
      <description>&lt;LI-SPOILER&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Anandkvn_0-1606288987855.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/51980iA74DEDB95E6E27DB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Anandkvn_0-1606288987855.png" alt="Anandkvn_0-1606288987855.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI-SPOILER&gt;</description>
      <pubDate>Wed, 25 Nov 2020 07:23:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Read-Multiple-text-files-at-a-time/m-p/701449#M214811</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2020-11-25T07:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Read Multiple text files at a time</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Read-Multiple-text-files-at-a-time/m-p/701466#M214816</link>
      <description>Show the log of the LIBNAME statement where you assign library imptext.</description>
      <pubDate>Wed, 25 Nov 2020 10:12:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Read-Multiple-text-files-at-a-time/m-p/701466#M214816</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-11-25T10:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Read Multiple text files at a time</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Read-Multiple-text-files-at-a-time/m-p/701941#M214975</link>
      <description>&lt;P&gt;The message states the library NAME is not assigned.&lt;/P&gt;
&lt;P&gt;This library is not used (or defined) in the code shown.&lt;/P&gt;
&lt;P&gt;Please ask a question that we can answer by provide a single, comprehensive, version of what you are doing.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Nov 2020 01:27:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Read-Multiple-text-files-at-a-time/m-p/701941#M214975</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-11-27T01:27:20Z</dc:date>
    </item>
  </channel>
</rss>

