<?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: Having issues in using Infile option. in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Having-issues-in-using-Infile-option/m-p/58924#M16569</link>
    <description>Hi:&lt;BR /&gt;
  It looks like you also posted your question in another forum posting.... and suggestions were posted there:&lt;BR /&gt;
 &lt;A href="http://support.sas.com/forums/thread.jspa?threadID=3865&amp;amp;tstart=0" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?threadID=3865&amp;amp;tstart=0&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
    <pubDate>Fri, 31 Oct 2008 19:23:03 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2008-10-31T19:23:03Z</dc:date>
    <item>
      <title>Having issues in using Infile option.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Having-issues-in-using-Infile-option/m-p/58922#M16567</link>
      <description>Hi All,&lt;BR /&gt;
I have a Ascii file which is fixed width length. In the SAS program, I am reading the file through Infile option. I have data as below:&lt;BR /&gt;
&lt;BR /&gt;
1201 2008-10-31 5702345678 2334&lt;BR /&gt;
First column I should read as : 1&lt;BR /&gt;
Second Column: 201&lt;BR /&gt;
Third Column:&lt;BR /&gt;
Fourth: 2008-10-31&lt;BR /&gt;
Fifth:&lt;BR /&gt;
Sixth:&lt;BR /&gt;
Seventh:&lt;BR /&gt;
Eigth:570&lt;BR /&gt;
Ninth:2345678&lt;BR /&gt;
tenth:&lt;BR /&gt;
Eleventh:2334&lt;BR /&gt;
&lt;BR /&gt;
But when I use infile option it is only reading first three columns and rest columns are empty even though some of the columns are having data.&lt;BR /&gt;
&lt;BR /&gt;
Here is my code snippet.&lt;BR /&gt;
data _null_;&lt;BR /&gt;
filename temp "/mydir/filename.txt";&lt;BR /&gt;
libname wip '$PWD/old';&lt;BR /&gt;
&lt;BR /&gt;
data wip.basic_xtrct;&lt;BR /&gt;
infile temp truncover;&lt;BR /&gt;
input @1 first $1.&lt;BR /&gt;
@2 Second $3.&lt;BR /&gt;
@3 Third $10.&lt;BR /&gt;
run; &lt;BR /&gt;
&lt;BR /&gt;
Can you please help me in solving this issue.</description>
      <pubDate>Fri, 31 Oct 2008 14:30:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Having-issues-in-using-Infile-option/m-p/58922#M16567</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-10-31T14:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Having issues in using Infile option.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Having-issues-in-using-Infile-option/m-p/58923#M16568</link>
      <description>Can anybody help on the below problem.</description>
      <pubDate>Fri, 31 Oct 2008 19:03:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Having-issues-in-using-Infile-option/m-p/58923#M16568</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-10-31T19:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: Having issues in using Infile option.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Having-issues-in-using-Infile-option/m-p/58924#M16569</link>
      <description>Hi:&lt;BR /&gt;
  It looks like you also posted your question in another forum posting.... and suggestions were posted there:&lt;BR /&gt;
 &lt;A href="http://support.sas.com/forums/thread.jspa?threadID=3865&amp;amp;tstart=0" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?threadID=3865&amp;amp;tstart=0&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Fri, 31 Oct 2008 19:23:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Having-issues-in-using-Infile-option/m-p/58924#M16569</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2008-10-31T19:23:03Z</dc:date>
    </item>
  </channel>
</rss>

