<?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 Distinguish among multiple INFILEs in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Distinguish-among-multiple-INFILEs/m-p/41183#M10635</link>
    <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I want to read in several files using:&lt;BR /&gt;
&lt;BR /&gt;
FILENAME FREF ('a' 'b') ...;&lt;BR /&gt;
&lt;BR /&gt;
DATA ...;&lt;BR /&gt;
  INFILE FREF ...; &lt;BR /&gt;
&lt;BR /&gt;
What is the best method to distinguish among files 'a' and 'b'? I want to now in each iteration of the data step which file the data step is processing?&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance&lt;BR /&gt;
&lt;BR /&gt;
//Dante</description>
    <pubDate>Sun, 27 Jun 2010 17:28:34 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2010-06-27T17:28:34Z</dc:date>
    <item>
      <title>Distinguish among multiple INFILEs</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Distinguish-among-multiple-INFILEs/m-p/41183#M10635</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I want to read in several files using:&lt;BR /&gt;
&lt;BR /&gt;
FILENAME FREF ('a' 'b') ...;&lt;BR /&gt;
&lt;BR /&gt;
DATA ...;&lt;BR /&gt;
  INFILE FREF ...; &lt;BR /&gt;
&lt;BR /&gt;
What is the best method to distinguish among files 'a' and 'b'? I want to now in each iteration of the data step which file the data step is processing?&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance&lt;BR /&gt;
&lt;BR /&gt;
//Dante</description>
      <pubDate>Sun, 27 Jun 2010 17:28:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Distinguish-among-multiple-INFILEs/m-p/41183#M10635</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-06-27T17:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Distinguish among multiple INFILEs</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Distinguish-among-multiple-INFILEs/m-p/41184#M10636</link>
      <description>In the SAS doco for the "infile" statement are examples of how to read from multiple input files (and how to know from which one you're reading).&lt;BR /&gt;
&lt;BR /&gt;
HTH&lt;BR /&gt;
Patrick</description>
      <pubDate>Sun, 27 Jun 2010 23:04:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Distinguish-among-multiple-INFILEs/m-p/41184#M10636</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2010-06-27T23:04:12Z</dc:date>
    </item>
  </channel>
</rss>

