<?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: Load multiple files from one location in sas to another location and concatinate data in to 1 fi in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Load-multiple-files-from-one-location-in-sas-to-another-location/m-p/369078#M88056</link>
    <description>&lt;P&gt;Hi Reeza&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your response, However I have been trying to follow the instructions you provided me and i am getting a little bit confused with the lenghs etc. Can you please elaborate a little more. I wamt to move the following files from 1 location in sas to another.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for example I would like to move following&amp;nbsp;files from (all variables in the files are the same as my original message)&lt;/P&gt;&lt;P&gt;/home/zzzzzzz7/Drop/&lt;/P&gt;&lt;P&gt;PN054694.txt&lt;/P&gt;&lt;P&gt;PN054695.txt&lt;/P&gt;&lt;P&gt;PN054696.txt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Move them to Libref in SAS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RichBase&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your help in this matter is much appreciated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Jun 2017 09:45:38 GMT</pubDate>
    <dc:creator>zdassu</dc:creator>
    <dc:date>2017-06-21T09:45:38Z</dc:date>
    <item>
      <title>Load multiple files from one location in sas to another location and concatinate data in to 1 file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Load-multiple-files-from-one-location-in-sas-to-another-location/m-p/368331#M87833</link>
      <description>&lt;P&gt;I&amp;nbsp;have multiple text files in my personoal folder in SAS&lt;/P&gt;&lt;P&gt;"/home/gandhis7/Drop/" this is the location.&lt;/P&gt;&lt;P&gt;I&amp;nbsp;want to copy the files from this location to another location in SAS. I have the following code to copy the files but this code allows me to do it only one file at a time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;your help will be much appreciated in this matter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Data work.UMRPN054694;
Length 
	U01 $3 
	Meter_Point_Reference 8 
	Actual_Read_Date 8
	Meter_Reading_Source $2 
	Meter_Reading_Reason $2 
	Meter_Serial_Number $14 
	Meter_Reading 8
	Meter_Round_The_Clocking 8 
	Convertor_Serial_Number $1 
	Convertor_Uncorrected_Reading $1
	Convertor_Round_the_Clock_Count $1
	Tolerance_Override_Flag $1;
 FORMAT
        U01 $CHAR3.
        Meter_Point_Ref  BEST10.
        Actual_Read_Date YYMMDD10.
        Meter_Reading_Source $CHAR1.
        Meter_Reading_Reason $CHAR1.
        Meter_Serial_Number $CHAR14.
        Meter_Reading    BEST7.
        Meter_Round_The_Clocking BEST1.
        Convertor_Serial_Number $CHAR1.
        Convertor_Uncorrected_Reading $CHAR1.
        Convertor_Round_the_Clock_Count $CHAR1.
        Tolerance_Override_Flag $CHAR1.;
      
    INFORMAT
        U01 $CHAR3.
        Meter_Point_Ref  BEST10.
        Actual_Read_Date YYMMDD10.
        Meter_Reading_Source $CHAR1.
        Meter_Reading_Reason $CHAR1.
        Meter_Serial_Number $CHAR14.
        Meter_Reading    BEST7.
        Meter_Round_The_Clocking BEST1.
        Convertor_Serial_Number $CHAR1.
        Convertor_Uncorrected_Reading $CHAR1.
        Convertor_Round_the_Clock_Count $CHAR1.
        Tolerance_Override_Flag $CHAR1.;

Infile "/home/gandhis7/Drop/PN054694.txt" DLM=',' MISSOVER DSD ;
Input U01 Meter_Point_Reference Actual_Read_Date Meter_Reading_Source 
      Meter_Reading_Reason Meter_Serial_Number Meter_Reading Meter_Round_The_Clocking 
      Convertor_Serial_Number Convertor_Uncorrected_Reading Convertor_Round_the_Clock_Count 
      Tolerance_Override_Flag;
run;

Proc Print data=work.UMRPN054694;
Where U01 = 'U01';
run;&lt;/PRE&gt;</description>
      <pubDate>Mon, 19 Jun 2017 13:54:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Load-multiple-files-from-one-location-in-sas-to-another-location/m-p/368331#M87833</guid>
      <dc:creator>zdassu</dc:creator>
      <dc:date>2017-06-19T13:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: Load multiple files from one location in sas to another location and concatinate data in to 1 fi</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Load-multiple-files-from-one-location-in-sas-to-another-location/m-p/368335#M87835</link>
      <description>&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-do-I-write-a-macro-to-import-multiple-text-files-that-have/ta-p/223627" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-do-I-write-a-macro-to-import-multiple-text-files-that-have/ta-p/223627&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It sounds like you're trying to import multiple text files into a single dataset. If so, see the link above for step by step instructions on how to do this in a single step.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2017 14:06:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Load-multiple-files-from-one-location-in-sas-to-another-location/m-p/368335#M87835</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-06-19T14:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Load multiple files from one location in sas to another location and concatinate data in to 1 fi</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Load-multiple-files-from-one-location-in-sas-to-another-location/m-p/369078#M88056</link>
      <description>&lt;P&gt;Hi Reeza&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your response, However I have been trying to follow the instructions you provided me and i am getting a little bit confused with the lenghs etc. Can you please elaborate a little more. I wamt to move the following files from 1 location in sas to another.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for example I would like to move following&amp;nbsp;files from (all variables in the files are the same as my original message)&lt;/P&gt;&lt;P&gt;/home/zzzzzzz7/Drop/&lt;/P&gt;&lt;P&gt;PN054694.txt&lt;/P&gt;&lt;P&gt;PN054695.txt&lt;/P&gt;&lt;P&gt;PN054696.txt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Move them to Libref in SAS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RichBase&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your help in this matter is much appreciated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2017 09:45:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Load-multiple-files-from-one-location-in-sas-to-another-location/m-p/369078#M88056</guid>
      <dc:creator>zdassu</dc:creator>
      <dc:date>2017-06-21T09:45:38Z</dc:date>
    </item>
  </channel>
</rss>

