<?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: help with import a .csv using infile statement and @ in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/help-with-import-a-csv-using-infile-statement-and/m-p/145976#M297297</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Patrixk, i tested it out with adjusted "encoding", didnt help, though LRECL solved the problem &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 18 Jan 2014 02:33:20 GMT</pubDate>
    <dc:creator>maria_sssss</dc:creator>
    <dc:date>2014-01-18T02:33:20Z</dc:date>
    <item>
      <title>help with import a .csv using infile statement and @</title>
      <link>https://communities.sas.com/t5/SAS-Programming/help-with-import-a-csv-using-infile-statement-and/m-p/145967#M297288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey everyone! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to import a dataset downloaded from US Census website, in csv format. The file has about 1700 rows and 169 columns. Each row represents a zip code. I want to import the file in a way that each zip code will be repeated 166 times (first three columns are variations of the same zip code) with only one variable that has data values. So the target dataset will have only 5 columns (zip, zip1, zip2, count var, value) and 297,804 rows (~166x1700). Here is the code i am using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN style="color: #3366ff;"&gt;&lt;SPAN class="s1"&gt;filename&lt;/SPAN&gt;&lt;SPAN class="s2"&gt; eddata &lt;/SPAN&gt;"C:\Users\path\ACS_12_5YR_B15001_with_ann.csv"&lt;SPAN class="s2"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN style="color: #3366ff;"&gt;&lt;SPAN class="s3"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/SPAN&gt; test;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p3"&gt;&lt;SPAN style="color: #3366ff;"&gt;infile&lt;SPAN class="s2"&gt; eddata &lt;/SPAN&gt;dlm&lt;SPAN class="s2"&gt;=&lt;/SPAN&gt;&lt;SPAN class="s4"&gt;","&lt;/SPAN&gt;&lt;SPAN class="s2"&gt; &lt;/SPAN&gt;missover&lt;SPAN class="s2"&gt; &lt;/SPAN&gt;firstobs&lt;SPAN class="s2"&gt;=&lt;/SPAN&gt;&lt;SPAN class="s5"&gt;&lt;STRONG&gt;3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s2"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN style="color: #3366ff;"&gt;&lt;SPAN class="s1"&gt;input&lt;/SPAN&gt; zip $ zip1 $ zip2$ @;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN style="color: #3366ff;"&gt;&lt;SPAN class="s1"&gt;&amp;nbsp;&amp;nbsp; do&lt;/SPAN&gt; var = &lt;SPAN class="s5"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="s1"&gt;to&lt;/SPAN&gt; &lt;SPAN class="s5"&gt;&lt;STRONG&gt;166&lt;/STRONG&gt;&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN style="color: #3366ff;"&gt;&lt;SPAN class="s1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; input&lt;/SPAN&gt; values $ @;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p3"&gt;&lt;SPAN style="color: #3366ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output&lt;SPAN class="s2"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p3"&gt;&lt;SPAN style="color: #3366ff;"&gt;&amp;nbsp;&amp;nbsp; end&lt;SPAN class="s2"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p4"&gt;&lt;SPAN style="color: #3366ff;"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;SPAN class="s2"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p4"&gt;&lt;SPAN class="s2"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p4"&gt;&lt;SPAN class="s2"&gt;I get the correct number of total rows and columns, the values that are read in are alle correct, but almost half of the rows are blank (mostly they have missing values after 83rd iteration of the do loop). The original dataset has no missing values (dataset is attached). &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p4"&gt;&lt;SPAN class="s2"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p4"&gt;&lt;SPAN class="s2"&gt;I am trying to understand why this is happening but with no luck so far. &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p4"&gt;&lt;SPAN class="s2"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p4"&gt;&lt;SPAN class="s2"&gt;I would appreciate any advice!! &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p4"&gt;&lt;SPAN class="s2"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p4"&gt;&lt;SPAN class="s2"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p4"&gt;&lt;SPAN class="s2"&gt;Maria &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Jan 2014 00:34:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/help-with-import-a-csv-using-infile-statement-and/m-p/145967#M297288</guid>
      <dc:creator>maria_sssss</dc:creator>
      <dc:date>2014-01-18T00:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: help with import a .csv using infile statement and @</title>
      <link>https://communities.sas.com/t5/SAS-Programming/help-with-import-a-csv-using-infile-statement-and/m-p/145968#M297289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The only 'odd' thing about the data is that the third postcode variant has a space in the middle.&amp;nbsp; It probably should be wrapped in double quotes, though some sources are sloppy about that.&amp;nbsp; I suspect SAS is reading the second part as a value.&amp;nbsp; I can't test but it would be worth a try using the &amp;amp; modifier:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="p1" style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3366ff;"&gt;&lt;SPAN class="s1" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;filename&lt;/SPAN&gt;&lt;SPAN class="s2" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt; eddata &lt;/SPAN&gt;"C:\Users\path\ACS_12_5YR_B15001_with_ann.csv"&lt;SPAN class="s2" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2" style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3366ff;"&gt;&lt;SPAN class="s3" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;data&lt;/SPAN&gt; test;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p3" style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; color: #3366ff; text-decoration: underline;"&gt;informat zip $14. zip1 $5. zip2 $Char11. ;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="p3" style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3366ff;"&gt;infile&lt;SPAN class="s2" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt; eddata &lt;/SPAN&gt;dlm&lt;SPAN class="s2" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="s4" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;","&lt;/SPAN&gt;&lt;SPAN class="s2" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt; &lt;/SPAN&gt;missover&lt;SPAN class="s2" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt; &lt;/SPAN&gt;firstobs&lt;SPAN class="s2" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="s5" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s2" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2" style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3366ff;"&gt;&lt;SPAN class="s1" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;input&lt;/SPAN&gt; zip $ zip1 $ zip2$ &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;&amp;amp;&lt;/STRONG&gt;&lt;/SPAN&gt; @;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2" style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3366ff;"&gt;&lt;SPAN class="s1" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp; do&lt;/SPAN&gt; var = &lt;SPAN class="s5" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="s1" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;to&lt;/SPAN&gt; &lt;SPAN class="s5" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;166&lt;/STRONG&gt;&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2" style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3366ff;"&gt;&lt;SPAN class="s1" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; input&lt;/SPAN&gt; values $ @;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p3" style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3366ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output&lt;SPAN class="s2" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p3" style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3366ff;"&gt;&amp;nbsp;&amp;nbsp; end&lt;SPAN class="s2" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p4" style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3366ff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;run&lt;/STRONG&gt;&lt;SPAN class="s2" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Incidentally, why are you importing the data in transposed form?&amp;nbsp; And why are you importing numerical values as character strings?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Jan 2014 01:10:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/help-with-import-a-csv-using-infile-statement-and/m-p/145968#M297289</guid>
      <dc:creator>RichardinOz</dc:creator>
      <dc:date>2014-01-18T01:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: help with import a .csv using infile statement and @</title>
      <link>https://communities.sas.com/t5/SAS-Programming/help-with-import-a-csv-using-infile-statement-and/m-p/145969#M297290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The code and data you've posted works fine in my environment (Win7 SAS9.4) and I don't get rows with missing values.&lt;/P&gt;&lt;P&gt;The only thing I saw is that you're truncating your zip data and need longer informats as in below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data test;&lt;BR /&gt;&amp;nbsp; infile eddata dlm="," missover firstobs=3;&lt;BR /&gt;&amp;nbsp; input zip &lt;STRONG&gt;:$14.&lt;/STRONG&gt; zip1 $ zip2 &lt;STRONG&gt;:$11.&lt;/STRONG&gt; @;&lt;/P&gt;&lt;P&gt;&amp;nbsp; do var = 1 to 166;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; input values $ @;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; output;&lt;BR /&gt;&amp;nbsp; end;&lt;BR /&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Jan 2014 01:14:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/help-with-import-a-csv-using-infile-statement-and/m-p/145969#M297290</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2014-01-18T01:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: help with import a .csv using infile statement and @</title>
      <link>https://communities.sas.com/t5/SAS-Programming/help-with-import-a-csv-using-infile-statement-and/m-p/145970#M297291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Richard, i dont need to import it as character, my mistake... still, with the corrections to the code that you suggested, all the values of 'value' are missing..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Patrick, i just ran the code (adjusting for truncation) and still getting missing values (for example for the first chunk of values all are missing after row 87). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am testing it in SAS9.2 and SAS9.3 on WindowsVista/XP..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Jan 2014 01:28:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/help-with-import-a-csv-using-infile-statement-and/m-p/145970#M297291</guid>
      <dc:creator>maria_sssss</dc:creator>
      <dc:date>2014-01-18T01:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: help with import a .csv using infile statement and @</title>
      <link>https://communities.sas.com/t5/SAS-Programming/help-with-import-a-csv-using-infile-statement-and/m-p/145971#M297292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's weird. If I run the code I see this in the data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="4761" alt="Capture.PNG" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/4761_Capture.PNG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Opening your csv with Notepad++ I'm told it's encoded in UTF-8 without BOM. Can you please re-test with below amendment:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt; font-family: Courier New;"&gt;infile&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt; eddata &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt; font-family: Courier New;"&gt;dlm&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 12pt; font-family: Courier New;"&gt;","&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt; font-family: Courier New;"&gt;missover&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt; font-family: Courier New;"&gt;firstobs&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;=&lt;/SPAN&gt;&lt;STRONG style=": ; color: #008080; font-size: 12pt; font-family: Courier New;"&gt;3&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt; font-family: Courier New;"&gt;encoding&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 12pt; font-family: Courier New;"&gt;'utf-8'&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Jan 2014 01:41:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/help-with-import-a-csv-using-infile-statement-and/m-p/145971#M297292</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2014-01-18T01:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: help with import a .csv using infile statement and @</title>
      <link>https://communities.sas.com/t5/SAS-Programming/help-with-import-a-csv-using-infile-statement-and/m-p/145972#M297293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using Patrick's code, I also get the same result. The only complaint in the log window is that one or more lines were truncated (probably need to increase the LRECL option):&lt;/P&gt;&lt;P&gt;&lt;IMG alt="test.png" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/4763_test.png" width="450" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Jan 2014 01:57:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/help-with-import-a-csv-using-infile-statement-and/m-p/145972#M297293</guid>
      <dc:creator>Fugue</dc:creator>
      <dc:date>2014-01-18T01:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: help with import a .csv using infile statement and @</title>
      <link>https://communities.sas.com/t5/SAS-Programming/help-with-import-a-csv-using-infile-statement-and/m-p/145973#M297294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That sounds very much like the explanation. My default is set to "32767" so I wouldn't have encountered such an issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Jan 2014 02:05:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/help-with-import-a-csv-using-infile-statement-and/m-p/145973#M297294</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2014-01-18T02:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: help with import a .csv using infile statement and @</title>
      <link>https://communities.sas.com/t5/SAS-Programming/help-with-import-a-csv-using-infile-statement-and/m-p/145974#M297295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to confirm what I am and Patrick are saying, you probably need to adjust LRECL. Try this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;data&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; test;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;infile&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; eddata &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;dlm&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple; font-size: 10pt;"&gt;","&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;missover&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;firstobs&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;3&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;LRECL&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;32767&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;input&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; zip :&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: teal; font-size: 10pt;"&gt;$14.&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; zip1 $ zip2 :&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: teal; font-size: 10pt;"&gt;$11.&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; @;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;do&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; var = &lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;1&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;to&lt;/SPAN&gt; &lt;STRONG style="color: teal; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;166&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;input&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt; values $ @;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;output&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue; font-size: 10pt;"&gt;end&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Jan 2014 02:17:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/help-with-import-a-csv-using-infile-statement-and/m-p/145974#M297295</guid>
      <dc:creator>Fugue</dc:creator>
      <dc:date>2014-01-18T02:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: help with import a .csv using infile statement and @</title>
      <link>https://communities.sas.com/t5/SAS-Programming/help-with-import-a-csv-using-infile-statement-and/m-p/145975#M297296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fugue and Patrick, you were absolutely right, LRECL solved the problem!&amp;nbsp; &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; Thanks a lot!!!!! i guess I will try now to set LRECL to a default to 32767..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Jan 2014 02:30:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/help-with-import-a-csv-using-infile-statement-and/m-p/145975#M297296</guid>
      <dc:creator>maria_sssss</dc:creator>
      <dc:date>2014-01-18T02:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: help with import a .csv using infile statement and @</title>
      <link>https://communities.sas.com/t5/SAS-Programming/help-with-import-a-csv-using-infile-statement-and/m-p/145976#M297297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Patrixk, i tested it out with adjusted "encoding", didnt help, though LRECL solved the problem &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Jan 2014 02:33:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/help-with-import-a-csv-using-infile-statement-and/m-p/145976#M297297</guid>
      <dc:creator>maria_sssss</dc:creator>
      <dc:date>2014-01-18T02:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: help with import a .csv using infile statement and @</title>
      <link>https://communities.sas.com/t5/SAS-Programming/help-with-import-a-csv-using-infile-statement-and/m-p/145977#M297298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also note that use of MISSOVER should really be avoided. TRUNCOVER is what you want.&amp;nbsp; With missover option there is the possibility that data at the end of the line will be discarded when it is less than the number of characters that the input operation requested.&amp;nbsp; See example below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;NOTE: Remote submit to SAS94 commencing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp; options generic;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp; filename tmp temp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp; data _null_;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file tmp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x='HELLO';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;7&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; do i=1 to length(x);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; put x $varying. i ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;9&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;10&amp;nbsp;&amp;nbsp; run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;NOTE: The file TMP is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (system-specific pathname),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (system-specific file attributes)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;NOTE: 5 records were written to the file (system-specific pathname).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The minimum record length was 1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The maximum record length was 5.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;11&amp;nbsp;&amp;nbsp; data check;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;12&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; infile tmp ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;13&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; input x $5.;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;14&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; put _n_=1 x=&amp;nbsp; '_infile_=' _infile_;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;15&amp;nbsp;&amp;nbsp; run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;NOTE: Compression was disabled for data set WORK.CHECK because compression overhead would increase the size of the data set.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;NOTE: The infile TMP is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (system-specific pathname),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (system-specific file attributes)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;_N_=1 x=HE _infile_=HE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;_N_=2 x=HELL _infile_=HELL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;_N_=3 x=HELLO _infile_=HELLO&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;NOTE: 5 records were read from the infile (system-specific pathname).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The minimum record length was 1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The maximum record length was 5.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;NOTE: SAS went to a new line when INPUT statement reached past the end of a line.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;NOTE: The data set WORK.CHECK has 3 observations and 1 variables.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;16&amp;nbsp;&amp;nbsp; data check;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;17&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; infile tmp missover;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;18&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; input x $5.;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;19&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; put _n_=1 x=&amp;nbsp; '_infile_=' _infile_;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;20&amp;nbsp;&amp;nbsp; run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;NOTE: Compression was disabled for data set WORK.CHECK because compression overhead would increase the size of the data set.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;NOTE: The infile TMP is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (system-specific pathname),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (system-specific file attributes)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;_N_=1 x=&amp;nbsp; _infile_=H&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;_N_=2 x=&amp;nbsp; _infile_=HE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;_N_=3 x=&amp;nbsp; _infile_=HEL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;_N_=4 x=&amp;nbsp; _infile_=HELL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;_N_=5 x=HELLO _infile_=HELLO&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;NOTE: 5 records were read from the infile (system-specific pathname).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The minimum record length was 1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The maximum record length was 5.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;NOTE: The data set WORK.CHECK has 5 observations and 1 variables.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;21&amp;nbsp;&amp;nbsp; data check;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;22&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; infile tmp truncover;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;23&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; input x $5.;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;24&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; put _n_=1 x=&amp;nbsp; '_infile_=' _infile_;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;25&amp;nbsp;&amp;nbsp; run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt; line-height: 1.5em;"&gt;NOTE: Compression was disabled for data set WORK.CHECK because compression overhead would increase the size of the data set.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;NOTE: The infile TMP is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (system-specific pathname),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (system-specific file attributes)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt; line-height: 1.5em;"&gt;_N_=1 x=H _infile_=H&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;_N_=2 x=HE _infile_=HE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;_N_=3 x=HEL _infile_=HEL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;_N_=4 x=HELL _infile_=HELL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;_N_=5 x=HELLO _infile_=HELLO&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;NOTE: 5 records were read from the infile (system-specific pathname).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The minimum record length was 1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The maximum record length was 5.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;NOTE: The data set WORK.CHECK has 5 observations and 1 variables.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt; line-height: 1.5em;"&gt;NOTE: Remote submit to SAS94 complete.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Jan 2014 18:59:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/help-with-import-a-csv-using-infile-statement-and/m-p/145977#M297298</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2014-01-18T18:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: help with import a .csv using infile statement and @</title>
      <link>https://communities.sas.com/t5/SAS-Programming/help-with-import-a-csv-using-infile-statement-and/m-p/145978#M297299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Tom!!! your example is excellent!!! TRUNCOVER it is &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Jan 2014 21:12:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/help-with-import-a-csv-using-infile-statement-and/m-p/145978#M297299</guid>
      <dc:creator>maria_sssss</dc:creator>
      <dc:date>2014-01-18T21:12:17Z</dc:date>
    </item>
  </channel>
</rss>

