<?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: Replace missing values to blanks in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Replace-missing-values-to-blanks/m-p/736784#M229601</link>
    <description>Ty Tom. Solved the issue using missing option.</description>
    <pubDate>Sat, 24 Apr 2021 21:24:42 GMT</pubDate>
    <dc:creator>Alex91</dc:creator>
    <dc:date>2021-04-24T21:24:42Z</dc:date>
    <item>
      <title>Replace missing values to blanks</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Replace-missing-values-to-blanks/m-p/736772#M229598</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a character date column (yymmdd10.) in the sas dataset. It has missing values. I have to replace all missing values with empty value ' '.&lt;/P&gt;&lt;P&gt;Trying to make it through proc sql with update statement but nothing happens, column still has missing values&lt;/P&gt;&lt;PRE&gt;proc sql;

update work.char_atg

set

birthday = ''

where missing(birthday)

;

quit;

run;&lt;/PRE&gt;&lt;P&gt;Any help would appreciate!&lt;/P&gt;</description>
      <pubDate>Sat, 24 Apr 2021 20:15:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Replace-missing-values-to-blanks/m-p/736772#M229598</guid>
      <dc:creator>Alex91</dc:creator>
      <dc:date>2021-04-24T20:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: Replace missing values to blanks</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Replace-missing-values-to-blanks/m-p/736774#M229599</link>
      <description>&lt;P&gt;This request does not make much sense.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the variable is character then "missing" values are already blanks.&amp;nbsp; SAS uses fixed length character variables and pads all values with spaces to defined length.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the variable is numeric (that is an actual number of days since 1/1/1960) then you can cannot store a character string like a space into the variable.&amp;nbsp; &amp;nbsp;You can change the MISSING option to change how the numeric missing values print.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Apr 2021 20:47:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Replace-missing-values-to-blanks/m-p/736774#M229599</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-04-24T20:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: Replace missing values to blanks</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Replace-missing-values-to-blanks/m-p/736784#M229601</link>
      <description>Ty Tom. Solved the issue using missing option.</description>
      <pubDate>Sat, 24 Apr 2021 21:24:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Replace-missing-values-to-blanks/m-p/736784#M229601</guid>
      <dc:creator>Alex91</dc:creator>
      <dc:date>2021-04-24T21:24:42Z</dc:date>
    </item>
  </channel>
</rss>

