<?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 SAS not interpreting blank values properly in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-not-interpreting-blank-values-properly/m-p/248127#M46576</link>
    <description>&lt;P&gt;Hi, I am using SAS online for academics.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having trouble with proper interpretation of data when importing an excel file. When importing the file SAS will interpret some of the blank cells correctly as a missing value represented by a ".", but for others it will not interpret them as a missing value and will represent them with a blank space.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't really work out the difference between the ones it is interpreting as a blank and the ones it is interpreting as a "." in the excel spreadsheet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 04 Feb 2016 23:37:12 GMT</pubDate>
    <dc:creator>RahulM</dc:creator>
    <dc:date>2016-02-04T23:37:12Z</dc:date>
    <item>
      <title>SAS not interpreting blank values properly</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-not-interpreting-blank-values-properly/m-p/248127#M46576</link>
      <description>&lt;P&gt;Hi, I am using SAS online for academics.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having trouble with proper interpretation of data when importing an excel file. When importing the file SAS will interpret some of the blank cells correctly as a missing value represented by a ".", but for others it will not interpret them as a missing value and will represent them with a blank space.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't really work out the difference between the ones it is interpreting as a blank and the ones it is interpreting as a "." in the excel spreadsheet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 23:37:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-not-interpreting-blank-values-properly/m-p/248127#M46576</guid>
      <dc:creator>RahulM</dc:creator>
      <dc:date>2016-02-04T23:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: SAS not interpreting blank values properly</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-not-interpreting-blank-values-properly/m-p/248128#M46577</link>
      <description>&lt;P&gt;Numerics are represented with a period when missing.&lt;/P&gt;
&lt;P&gt;Characters are represented by a space when missing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Run a PROC CONTENTS on the data set and that should align with what you're seeing.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 23:41:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-not-interpreting-blank-values-properly/m-p/248128#M46577</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-02-04T23:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: SAS not interpreting blank values properly</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-not-interpreting-blank-values-properly/m-p/248132#M46579</link>
      <description>&lt;P&gt;Awesome, how do you tell SAS to change a certain variable from character to numeric?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2016 00:33:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-not-interpreting-blank-values-properly/m-p/248132#M46579</guid>
      <dc:creator>RahulM</dc:creator>
      <dc:date>2016-02-05T00:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: SAS not interpreting blank values properly</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-not-interpreting-blank-values-properly/m-p/248135#M46580</link>
      <description>&lt;P&gt;Ideally you change it in the import step. Sadly that's very difficult to do when reading from an Excel file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You our can use the PUT function to create new variables that are the type you need. SAS variable types can't be changed once assigned, so you create new variables instead. If you absolutely require the original variable names you can rename the variables in the next step or in a prior step.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2016 01:31:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-not-interpreting-blank-values-properly/m-p/248135#M46580</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-02-05T01:31:23Z</dc:date>
    </item>
  </channel>
</rss>

