<?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: CSV infile for strings long then 8 in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/CSV-infile-for-strings-long-then-8/m-p/461906#M14350</link>
    <description>&lt;P&gt;Not mine. You should have marked whomsoever who gave you the solution. lol&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 14 May 2018 00:55:33 GMT</pubDate>
    <dc:creator>Andygray</dc:creator>
    <dc:date>2018-05-14T00:55:33Z</dc:date>
    <item>
      <title>CSV infile for strings long then 8</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/CSV-infile-for-strings-long-then-8/m-p/461892#M14346</link>
      <description>&lt;P&gt;Morning all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to read in a csv dataset with first and middle name and then a last name,and I know it trucates at 8 letters, but from reading forums I can't crack the code that imports the variables in their full format.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My current code (excluding length attempts is)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;data namesofromanemperors_csv;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;infile "/home/natelucaswelling0/romans/romanemperors.csv" firstobs=2 dlm=',' missover;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;input studyno firstplusmiddle $ surname $;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;run;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have then tryed variations, but this results in variables being not included if they don't have 25 letters...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;data&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;namesofromanemperors_csv;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;infile "/home/natelucaswelling0/romans/romanemperors.csv" firstobs=2 dlm=',' missover;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;input studyno firstplusmiddle $25.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;surname $15.;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for advice&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 13 May 2018 23:16:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/CSV-infile-for-strings-long-then-8/m-p/461892#M14346</guid>
      <dc:creator>underarmnat</dc:creator>
      <dc:date>2018-05-13T23:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: CSV infile for strings long then 8</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/CSV-infile-for-strings-long-then-8/m-p/461894#M14347</link>
      <description>&lt;P&gt;I think you are missing colon format modifier like this&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data namesofromanemperors_csv;

infile "/home/natelucaswelling0/romans/romanemperors.csv" firstobs=2 dlm=',' missover;

input studyno firstplusmiddle : $25. surname : $15.;

run;

 &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;or show us an example of couple of datalines samples please&lt;/P&gt;</description>
      <pubDate>Sun, 13 May 2018 23:34:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/CSV-infile-for-strings-long-then-8/m-p/461894#M14347</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-05-13T23:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: CSV infile for strings long then 8</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/CSV-infile-for-strings-long-then-8/m-p/461902#M14348</link>
      <description>&lt;P&gt;That worked perfect,&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 14 May 2018 00:15:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/CSV-infile-for-strings-long-then-8/m-p/461902#M14348</guid>
      <dc:creator>underarmnat</dc:creator>
      <dc:date>2018-05-14T00:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: CSV infile for strings long then 8</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/CSV-infile-for-strings-long-then-8/m-p/461903#M14349</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/198999"&gt;@underarmnat&lt;/a&gt;&amp;nbsp;If your question has been answered, you could mark as answered and close the thread&lt;/P&gt;</description>
      <pubDate>Mon, 14 May 2018 00:21:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/CSV-infile-for-strings-long-then-8/m-p/461903#M14349</guid>
      <dc:creator>Andygray</dc:creator>
      <dc:date>2018-05-14T00:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: CSV infile for strings long then 8</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/CSV-infile-for-strings-long-then-8/m-p/461906#M14350</link>
      <description>&lt;P&gt;Not mine. You should have marked whomsoever who gave you the solution. lol&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 May 2018 00:55:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/CSV-infile-for-strings-long-then-8/m-p/461906#M14350</guid>
      <dc:creator>Andygray</dc:creator>
      <dc:date>2018-05-14T00:55:33Z</dc:date>
    </item>
  </channel>
</rss>

