<?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 loading Excel data in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Help-loading-Excel-data/m-p/587593#M28751</link>
    <description>&lt;P&gt;You probably want , at a minimum, to add the TRUNCOVER option to your INFILE statement.&amp;nbsp; It is hard to tell what your CSV file actually looks like in this forum without downloading it.&amp;nbsp; The forum displays CSV files as if they are spreadsheets instead of the text files they are.&amp;nbsp; Perhaps if you attached to file using .txt as the extension instead. Or just pasted a couple of example lines into the pop-up box that appears when you click on the Insert Code icon.&lt;/P&gt;</description>
    <pubDate>Tue, 10 Sep 2019 16:19:26 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2019-09-10T16:19:26Z</dc:date>
    <item>
      <title>Help loading Excel data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Help-loading-Excel-data/m-p/587587#M28749</link>
      <description>&lt;P&gt;I am trying to load another excel file attached,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is my code&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/*Load Data*/
data Employees;
    infile "C:/Users/100355202/Desktop/employees.csv" dsd dlm = "09"x;
    input EmployeeID LastName :$20. FirstName :$20. Title :$20. Gender :$20. BirthDate :mmddyy10. 
          HireDate :mmddyy10. Address :$20. City :$20. Region :$20. PostalCode :$20. Country :$20. 
          HomePhone :$20. Extension :$20. ReportsTo;
run; &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I am getting this output&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="empout.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/32348iA64868E709DA8D57/image-size/large?v=v2&amp;amp;px=999" role="button" title="empout.PNG" alt="empout.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am receiving these notes&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="emnot.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/32349i68E2092A00C2F72B/image-size/large?v=v2&amp;amp;px=999" role="button" title="emnot.PNG" alt="emnot.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;can you help me figure out what's wrong with the code&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 16:08:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Help-loading-Excel-data/m-p/587587#M28749</guid>
      <dc:creator>genius99</dc:creator>
      <dc:date>2019-09-10T16:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: Help loading Excel data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Help-loading-Excel-data/m-p/587591#M28750</link>
      <description>&lt;P&gt;Could you please try the proc import procedure as below and when you run this , you should be able to see a data step in log file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
proc import datafile="C:/Users/100355202/Desktop/employees.csv"  out=employees dbms=csv replace;
getnames=yes;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 10 Sep 2019 16:14:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Help-loading-Excel-data/m-p/587591#M28750</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2019-09-10T16:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: Help loading Excel data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Help-loading-Excel-data/m-p/587593#M28751</link>
      <description>&lt;P&gt;You probably want , at a minimum, to add the TRUNCOVER option to your INFILE statement.&amp;nbsp; It is hard to tell what your CSV file actually looks like in this forum without downloading it.&amp;nbsp; The forum displays CSV files as if they are spreadsheets instead of the text files they are.&amp;nbsp; Perhaps if you attached to file using .txt as the extension instead. Or just pasted a couple of example lines into the pop-up box that appears when you click on the Insert Code icon.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 16:19:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Help-loading-Excel-data/m-p/587593#M28751</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-09-10T16:19:26Z</dc:date>
    </item>
  </channel>
</rss>

