<?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: How to import a non delimited text file in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-import-a-non-delimited-text-file/m-p/483066#M125226</link>
    <description>&lt;P&gt;YAY! That worked perfectly!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nazanin&lt;/P&gt;</description>
    <pubDate>Wed, 01 Aug 2018 12:42:46 GMT</pubDate>
    <dc:creator>NazaninSAS</dc:creator>
    <dc:date>2018-08-01T12:42:46Z</dc:date>
    <item>
      <title>How to import a non delimited text file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-import-a-non-delimited-text-file/m-p/483048#M125211</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to import a non delimited text file to SAS. My data looks like this :&lt;/P&gt;&lt;P&gt;99999999200303319999123101010120030609&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 41&lt;BR /&gt;99999999201511029999123101040120150331&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 56&lt;BR /&gt;99999999201701039999123102040220170113&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;99999999200708219999123101040120071010&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 80&amp;nbsp;&lt;BR /&gt;99999999201803079999123102060220180307&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;99999999200303319999123102010220030609&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;999999992013042999991231010402201305072323&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 56&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My data set should have 18 fields with following lengths:&lt;/P&gt;&lt;P&gt;field1:8&lt;/P&gt;&lt;P&gt;field2:8&lt;/P&gt;&lt;P&gt;field3:8&lt;/P&gt;&lt;P&gt;field4:2&lt;/P&gt;&lt;P&gt;field5:2&lt;/P&gt;&lt;P&gt;field6:2&lt;/P&gt;&lt;P&gt;field7:8&lt;/P&gt;&lt;P&gt;Field8-18 : 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;some fields can have no values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have already done that, but the problem is that the program does not run line by line, so I get mixed up values in my dataset.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; SI_July;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;infile&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;"H:\EE NAZANIN 2012\SAS\My Training.SIJuly.txt"&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;dlm=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;''&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; LRECL=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;32760&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; ;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;length&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;PRI $&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;8&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; From $&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;8&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; To $&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;8&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; Field4 $&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; Field5 $&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; Field6 $&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; Field7 $&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;8&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; Dis1 $&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;2&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; Dis2 $&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;2&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;Dis3 $&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;2&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; Dis4 $&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;2&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; Dis5 $&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;2&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; Dis6 $&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;2&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; Dis7 $&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;2&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; Dis8 $&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;2&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; Dis9 $&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;2&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; AborCode $&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;2&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt; VisminCode $&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;2&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;input&lt;/P&gt;&lt;P&gt;PRI From To Field4 Field5 Field6 Field7 Dis1 Dis2 Dis3 Dis4 Dis5 Dis6 Dis7 Dis8 Dis9 AborCode VisminCode;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nazanin&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 12:04:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-import-a-non-delimited-text-file/m-p/483048#M125211</guid>
      <dc:creator>NazaninSAS</dc:creator>
      <dc:date>2018-08-01T12:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to import a non delimited text file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-import-a-non-delimited-text-file/m-p/483049#M125212</link>
      <description>&lt;P&gt;With fixed columns and no delimiter, you use formatted input:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
infile cards truncover;
input
  f1 $8.
  f2 $8.
  f3 $8.
  f4 $2.
  f5 $2.
  f6 $2.
  f7 $8.
  (f8-f18) ($2.)
;
cards;
99999999200303319999123101010120030609                    41
99999999201511029999123101040120150331                    56
99999999201701039999123102040220170113                     
99999999200708219999123101040120071010                  80 
99999999201803079999123102060220180307                     
99999999200303319999123102010220030609                     
999999992013042999991231010402201305072323                56
;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Note the truncover option, which prevents skipping into the next row.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 12:10:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-import-a-non-delimited-text-file/m-p/483049#M125212</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-08-01T12:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to import a non delimited text file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-import-a-non-delimited-text-file/m-p/483057#M125218</link>
      <description>&lt;P&gt;Thanks Kurt, my problem is my input is much larger than that. I have about 90,000 lines.&lt;/P&gt;&lt;P&gt;in this case, what do you suggest?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nazanin&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 12:23:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-import-a-non-delimited-text-file/m-p/483057#M125218</guid>
      <dc:creator>NazaninSAS</dc:creator>
      <dc:date>2018-08-01T12:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to import a non delimited text file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-import-a-non-delimited-text-file/m-p/483059#M125219</link>
      <description>&lt;P&gt;Why would number of lines be an issue?&amp;nbsp; Your import states the structure to read the data in, then is reads each line outputting to the dataset.&amp;nbsp; Number of lines is irrelevant to anything but the number of observations output?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 12:28:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-import-a-non-delimited-text-file/m-p/483059#M125219</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-08-01T12:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to import a non delimited text file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-import-a-non-delimited-text-file/m-p/483060#M125220</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/223883"&gt;@NazaninSAS&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Thanks Kurt, my problem is my input is much larger than that. I have about 90,000 lines.&lt;/P&gt;
&lt;P&gt;in this case, what do you suggest?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Nazanin&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The number of lines does not matter. Or do you have 90k columns?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 12:28:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-import-a-non-delimited-text-file/m-p/483060#M125220</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2018-08-01T12:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to import a non delimited text file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-import-a-non-delimited-text-file/m-p/483061#M125221</link>
      <description>&lt;P&gt;number of lines is not an issue, the issue is I have to copy and paste all the lines into card?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 12:29:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-import-a-non-delimited-text-file/m-p/483061#M125221</guid>
      <dc:creator>NazaninSAS</dc:creator>
      <dc:date>2018-08-01T12:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to import a non delimited text file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-import-a-non-delimited-text-file/m-p/483062#M125222</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/223883"&gt;@NazaninSAS&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Thanks Kurt, my problem is my input is much larger than that. I have about 90,000 lines.&lt;/P&gt;
&lt;P&gt;in this case, what do you suggest?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Nazanin&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Irrelevant. You drop the &lt;FONT face="courier new,courier"&gt;cards;&lt;/FONT&gt; block from my example data step and replace &lt;FONT face="courier new,courier"&gt;cards&lt;/FONT&gt; in the infile statement with your filename. That's all.&lt;/P&gt;
&lt;P&gt;See the documentation for &lt;A href="http://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.3&amp;amp;docsetId=lestmtsref&amp;amp;docsetTarget=p0114gachtut3nn1and4ap8ke9nf.htm&amp;amp;locale=de" target="_blank"&gt;cards/datalines&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 12:32:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-import-a-non-delimited-text-file/m-p/483062#M125222</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-08-01T12:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to import a non delimited text file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-import-a-non-delimited-text-file/m-p/483063#M125223</link>
      <description>&lt;P&gt;just to be clear, this is what you suggest?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; want;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;infile&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; H:\EE NAZANIN &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;2012&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="2"&gt;\SAS\My Training\SIJuly3.txt &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;truncover&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;input&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;f1 &lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;$8.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;f2 &lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;$8.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;f3 &lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;$8.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;f4 &lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;$2.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;f5 &lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;$2.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;f6 &lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;$2.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;f7 &lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;$8.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;(f8-f18) (&lt;/FONT&gt;&lt;FONT color="#008080" face="Courier New" size="2"&gt;$2.&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 12:38:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-import-a-non-delimited-text-file/m-p/483063#M125223</guid>
      <dc:creator>NazaninSAS</dc:creator>
      <dc:date>2018-08-01T12:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to import a non delimited text file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-import-a-non-delimited-text-file/m-p/483065#M125225</link>
      <description>&lt;P&gt;The filename needs to be enclosed in quotes, just as you did in your initial post.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 12:41:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-import-a-non-delimited-text-file/m-p/483065#M125225</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-08-01T12:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to import a non delimited text file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-import-a-non-delimited-text-file/m-p/483066#M125226</link>
      <description>&lt;P&gt;YAY! That worked perfectly!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nazanin&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 12:42:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-import-a-non-delimited-text-file/m-p/483066#M125226</guid>
      <dc:creator>NazaninSAS</dc:creator>
      <dc:date>2018-08-01T12:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to import a non delimited text file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-import-a-non-delimited-text-file/m-p/483079#M125228</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;With fixed columns and no delimiter, you use formatted input:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
infile cards truncover;
input
  f1 $8.
  f2 $8.
  f3 $8.
  f4 $2.
  f5 $2.
  f6 $2.
  f7 $8.
  (f8-f18) ($2.)
;
cards;
99999999200303319999123101010120030609                    41
99999999201511029999123101040120150331                    56
99999999201701039999123102040220170113                     
99999999200708219999123101040120071010                  80 
99999999201803079999123102060220180307                     
99999999200303319999123102010220030609                     
999999992013042999991231010402201305072323                56
;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Note the truncover option, which prevents skipping into the next row.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Are all of these "fields" actually character? if columns 9 through 16, Field2,&amp;nbsp;are actually&amp;nbsp;a date you might want to use a date informat such as yymmdd8. and assign a proper date format&amp;nbsp;liked yymmdd8. or Date9. for display (and I think the same thing for Field7)&amp;nbsp;. If you need to do anything with dates having an actual date valued numeric will be much easier. Any actual numeric values you expect to do calculations with should be read as such with a numeric informat,&amp;nbsp;such as F2. or &amp;nbsp;at this time as well. Otherwise you will be asking how to change your character values to numeric before doing any additional work.&lt;/P&gt;
&lt;P&gt;And descriptive variable names and/or labels might help as well.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 14:31:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-import-a-non-delimited-text-file/m-p/483079#M125228</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-08-01T14:31:26Z</dc:date>
    </item>
  </channel>
</rss>

