<?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: Update missing value using Proc SQL in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Update-missing-value-using-Proc-SQL/m-p/64758#M18415</link>
    <description>set dateout = input("9/30/2008:00:00:00",datetime20.)&lt;BR /&gt;
&lt;BR /&gt;
You just have the date.</description>
    <pubDate>Fri, 14 Aug 2009 18:21:50 GMT</pubDate>
    <dc:creator>Flip</dc:creator>
    <dc:date>2009-08-14T18:21:50Z</dc:date>
    <item>
      <title>Update missing value using Proc SQL</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Update-missing-value-using-Proc-SQL/m-p/64757#M18414</link>
      <description>I have a date column in the SAS dataset.  The date column contains missing values.  I am trying to update the missing values with a default date, see the coding below:&lt;BR /&gt;
&lt;BR /&gt;
update	vte0813_1&lt;BR /&gt;
set		dateout = input("9/30/2008",datetime20.)&lt;BR /&gt;
where 	dateout = "                   .";&lt;BR /&gt;
&lt;BR /&gt;
The value in the date column looks like "  24FEB2005:00:00:00" (type=numeric).&lt;BR /&gt;
&lt;BR /&gt;
I am getting the following error message when I run the code:&lt;BR /&gt;
&lt;BR /&gt;
"ERROR: Expression using equals (=) has components that are of different data types."&lt;BR /&gt;
&lt;BR /&gt;
I could not figure out what went wrong?&lt;BR /&gt;
&lt;BR /&gt;
Thank you.</description>
      <pubDate>Fri, 14 Aug 2009 15:32:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Update-missing-value-using-Proc-SQL/m-p/64757#M18414</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-08-14T15:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: Update missing value using Proc SQL</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Update-missing-value-using-Proc-SQL/m-p/64758#M18415</link>
      <description>set dateout = input("9/30/2008:00:00:00",datetime20.)&lt;BR /&gt;
&lt;BR /&gt;
You just have the date.</description>
      <pubDate>Fri, 14 Aug 2009 18:21:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Update-missing-value-using-Proc-SQL/m-p/64758#M18415</guid>
      <dc:creator>Flip</dc:creator>
      <dc:date>2009-08-14T18:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: Update missing value using Proc SQL</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Update-missing-value-using-Proc-SQL/m-p/64759#M18416</link>
      <description>where dateout=.&lt;BR /&gt;
&lt;BR /&gt;
Or you may like use:&lt;BR /&gt;
&lt;BR /&gt;
where missing(dateout)</description>
      <pubDate>Fri, 14 Aug 2009 18:22:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Update-missing-value-using-Proc-SQL/m-p/64759#M18416</guid>
      <dc:creator>SUN59338</dc:creator>
      <dc:date>2009-08-14T18:22:24Z</dc:date>
    </item>
  </channel>
</rss>

