<?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: Copy portions of column based on other column in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Copy-portions-of-column-based-on-other-column/m-p/685291#M79558</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
  set have;
  NCMeas = NC;
  if Selected=0 then call missing(NCMeas) ;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;alternative code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
  set have;
       if Selected=0 then call missing(NCMeas) ;
       else  NCMeas = NC;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 20 Sep 2020 22:36:13 GMT</pubDate>
    <dc:creator>Shmuel</dc:creator>
    <dc:date>2020-09-20T22:36:13Z</dc:date>
    <item>
      <title>Copy portions of column based on other column</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Copy-portions-of-column-based-on-other-column/m-p/685289#M79556</link>
      <description>&lt;P&gt;I have one column (NC) that I want to copy to another new column (NCMeas), but whenever column "Selected" = 0 I want the new column "NCMeas" to be empty.&amp;nbsp; How do I do that?&amp;nbsp; These are all numeric columns. Thanks.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
  set have;
  NC = NCMeas;&lt;BR /&gt;  if Selected=0 then call NCMeas ????;&lt;BR /&gt;run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 20 Sep 2020 22:16:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Copy-portions-of-column-based-on-other-column/m-p/685289#M79556</guid>
      <dc:creator>Daisy2</dc:creator>
      <dc:date>2020-09-20T22:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: Copy portions of column based on other column</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Copy-portions-of-column-based-on-other-column/m-p/685290#M79557</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;if Selected=0 then call missing(NCMeas);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 20 Sep 2020 22:35:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Copy-portions-of-column-based-on-other-column/m-p/685290#M79557</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-09-20T22:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: Copy portions of column based on other column</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Copy-portions-of-column-based-on-other-column/m-p/685291#M79558</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
  set have;
  NCMeas = NC;
  if Selected=0 then call missing(NCMeas) ;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;alternative code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
  set have;
       if Selected=0 then call missing(NCMeas) ;
       else  NCMeas = NC;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Sep 2020 22:36:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Copy-portions-of-column-based-on-other-column/m-p/685291#M79558</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2020-09-20T22:36:13Z</dc:date>
    </item>
  </channel>
</rss>

