<?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: file import issue in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/file-import-issue/m-p/480213#M124089</link>
    <description>&lt;P&gt;How did you import the file?&amp;nbsp; Show your code or if you used some point-and-click method explain which one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What type of Excel do you mean?&amp;nbsp; Are you reading from an XLSX file? An old style XLS file?&amp;nbsp; Or do you in fact have just simple text file with a .CSV extension and we being tricked into thinking it is an Excel file by your operating systems file associations?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your Excel file has any character values in a column then SAS will assume the whole column is character.&amp;nbsp; Excel is not a database, so it can cause these types of problems.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your description sounds like what might happen in SAS output if the values was too long to display in the specified space.&amp;nbsp; Excel can also have similar issues I believe.&amp;nbsp; But I would expect if you are using XLSX files then it should be less of a problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 22 Jul 2018 05:47:42 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2018-07-22T05:47:42Z</dc:date>
    <item>
      <title>file import issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/file-import-issue/m-p/480110#M124044</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I import my data from&amp;nbsp; excel file to SAS , it shows me character data although the data is numeric.&lt;/P&gt;&lt;P&gt;After inspecting my file, I found out that the cells contain * in them (although I cannot see it as it displays as number)&lt;/P&gt;&lt;P&gt;&amp;nbsp;The&amp;nbsp;value is shown as a number say 1.12 but when I use ctrl+F and find *, it finds the numbered cell. When I replace * with a blank, it replaces the entire number say 1.12 will replace with a blank.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am unsure on how to handle this weird issue. Any suggestions please?&lt;/P&gt;</description>
      <pubDate>Sat, 21 Jul 2018 01:48:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/file-import-issue/m-p/480110#M124044</guid>
      <dc:creator>Amalik</dc:creator>
      <dc:date>2018-07-21T01:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: file import issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/file-import-issue/m-p/480113#M124045</link>
      <description>&lt;P&gt;Once you import the file, Find out the columns Which being char datatype but it contain numeric values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;col1 = input(compress(Column_name,'0123456789.','k')best12.);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Here the converted column contains only numeric and (.) float punctuation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Jul 2018 04:50:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/file-import-issue/m-p/480113#M124045</guid>
      <dc:creator>Sathish_jammy</dc:creator>
      <dc:date>2018-07-21T04:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: file import issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/file-import-issue/m-p/480213#M124089</link>
      <description>&lt;P&gt;How did you import the file?&amp;nbsp; Show your code or if you used some point-and-click method explain which one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What type of Excel do you mean?&amp;nbsp; Are you reading from an XLSX file? An old style XLS file?&amp;nbsp; Or do you in fact have just simple text file with a .CSV extension and we being tricked into thinking it is an Excel file by your operating systems file associations?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your Excel file has any character values in a column then SAS will assume the whole column is character.&amp;nbsp; Excel is not a database, so it can cause these types of problems.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your description sounds like what might happen in SAS output if the values was too long to display in the specified space.&amp;nbsp; Excel can also have similar issues I believe.&amp;nbsp; But I would expect if you are using XLSX files then it should be less of a problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Jul 2018 05:47:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/file-import-issue/m-p/480213#M124089</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2018-07-22T05:47:42Z</dc:date>
    </item>
  </channel>
</rss>

