<?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: Problem while reading multiple files using FILEVAR in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Problem-while-reading-multiple-files-using-FILEVAR/m-p/558372#M10097</link>
    <description>Remove the word "missover".  Once you understand what it means, you will see that it is incompatible with using a trailing @</description>
    <pubDate>Mon, 13 May 2019 16:43:02 GMT</pubDate>
    <dc:creator>Astounding</dc:creator>
    <dc:date>2019-05-13T16:43:02Z</dc:date>
    <item>
      <title>Problem while reading multiple files using FILEVAR</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Problem-while-reading-multiple-files-using-FILEVAR/m-p/558335#M10096</link>
      <description>&lt;P&gt;I am trying to use 2 infile statements in a program , the first one to read the list of filenames and the second one is to read the data from the file read using first infile statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;infile datalines truncover;&lt;BR /&gt;length fil2read $200.;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;input fil2read $;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;infile dummy filevar=fil2read end=done dlm="~" dsd missover ;&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;do while(not done);&lt;BR /&gt;informat RECTY $1.;&lt;BR /&gt;input RECTY $ @;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Down the line i am trying to use IF or WHEN statements to check for various condition.&lt;/P&gt;&lt;P&gt;when i an trying to execute this program it is always struck with data step processing message.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;NOTE: The infile DUMMY is:&lt;BR /&gt;Filename=C:\Users\Desktop\SASCode\sample.txt,&lt;BR /&gt;RECFM=V,LRECL=32767,File Size (bytes)=5722,&lt;BR /&gt;Last Modified=01Feb2019:05:00:40,&lt;BR /&gt;Create Time=13May2019:11:15:00&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After this part in log , nothing is coming out. Only i can see the message like DATASTEP executing in the window bar. Kindly help where i went wrong???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I recently find it out that it is working good for one record in the second input file. When it comes to more than 1 record in the second input file (which is data file , not the filename file) it is looping. Kindly clarify.&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2019 16:26:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Problem-while-reading-multiple-files-using-FILEVAR/m-p/558335#M10096</guid>
      <dc:creator>meenakshim</dc:creator>
      <dc:date>2019-05-13T16:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while reading multiple files using FILEVAR</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Problem-while-reading-multiple-files-using-FILEVAR/m-p/558372#M10097</link>
      <description>Remove the word "missover".  Once you understand what it means, you will see that it is incompatible with using a trailing @</description>
      <pubDate>Mon, 13 May 2019 16:43:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Problem-while-reading-multiple-files-using-FILEVAR/m-p/558372#M10097</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2019-05-13T16:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while reading multiple files using FILEVAR</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Problem-while-reading-multiple-files-using-FILEVAR/m-p/561200#M10558</link>
      <description>&lt;P&gt;I think , i found out the problem that my code was looping for not satisfied records. I have IF condition based on record type. I was checking for only few record type and just skipped others without handling it properly. Thanks for ur response.&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2019 16:30:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Problem-while-reading-multiple-files-using-FILEVAR/m-p/561200#M10558</guid>
      <dc:creator>meenakshim</dc:creator>
      <dc:date>2019-05-23T16:30:02Z</dc:date>
    </item>
  </channel>
</rss>

