<?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: make loop to perfom operation on all lines of all columns in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/make-loop-to-perfom-operation-on-all-lines-of-all-columns/m-p/556510#M9835</link>
    <description>&lt;P&gt;For numeric variables, you can't do that.&amp;nbsp; A missing value for a numeric variable is displayed as a dot.&amp;nbsp; The only thing you can do differently is to change how it gets displayed:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;options missing=" ";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you happen to have character variables that contain a dot, you can change them to blanks:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
   set have;
   array chars {*} _character_;
   do _n_= 1 to dim(chars);
      if chars{_n_} = "." then chars{_n_} = " ";
   end;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 06 May 2019 17:49:21 GMT</pubDate>
    <dc:creator>Astounding</dc:creator>
    <dc:date>2019-05-06T17:49:21Z</dc:date>
    <item>
      <title>make loop to perfom operation on all lines of all columns</title>
      <link>https://communities.sas.com/t5/New-SAS-User/make-loop-to-perfom-operation-on-all-lines-of-all-columns/m-p/556479#M9828</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've got a table (generated by proc compare) that holds around 170 columns and 150 000 rows.&lt;/P&gt;&lt;P&gt;for all lines and all columns, I would like to perform the same operation. for example replace '.' by ' ' ;&lt;/P&gt;&lt;P&gt;thanks a lot in advance for your help&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Nasser&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2019 16:34:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/make-loop-to-perfom-operation-on-all-lines-of-all-columns/m-p/556479#M9828</guid>
      <dc:creator>Nasser_DRMCP</dc:creator>
      <dc:date>2019-05-06T16:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: make loop to perfom operation on all lines of all columns</title>
      <link>https://communities.sas.com/t5/New-SAS-User/make-loop-to-perfom-operation-on-all-lines-of-all-columns/m-p/556510#M9835</link>
      <description>&lt;P&gt;For numeric variables, you can't do that.&amp;nbsp; A missing value for a numeric variable is displayed as a dot.&amp;nbsp; The only thing you can do differently is to change how it gets displayed:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;options missing=" ";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you happen to have character variables that contain a dot, you can change them to blanks:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
   set have;
   array chars {*} _character_;
   do _n_= 1 to dim(chars);
      if chars{_n_} = "." then chars{_n_} = " ";
   end;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 06 May 2019 17:49:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/make-loop-to-perfom-operation-on-all-lines-of-all-columns/m-p/556510#M9835</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2019-05-06T17:49:21Z</dc:date>
    </item>
  </channel>
</rss>

