<?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: replicate values from column A_EXP_DT to other new_dt in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/replicate-values-from-column-A-EXP-DT-to-other-new-dt/m-p/780996#M248899</link>
    <description>It is what COALESCE functions do.&lt;BR /&gt;As this column seems to hold what looks like a date but as a character string, the particular function might be&lt;BR /&gt;COALESCEC()</description>
    <pubDate>Thu, 18 Nov 2021 11:45:47 GMT</pubDate>
    <dc:creator>Peter_C</dc:creator>
    <dc:date>2021-11-18T11:45:47Z</dc:date>
    <item>
      <title>replicate values from column A_EXP_DT to other new_dt</title>
      <link>https://communities.sas.com/t5/SAS-Programming/replicate-values-from-column-A-EXP-DT-to-other-new-dt/m-p/780393#M248659</link>
      <description>&lt;P&gt;Good day expects.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i nedd to replicate values from column A_EXP_DT to new_dt.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;data VIEW;

set TEST;

if A_EXP_DT = '99999999' then new_dt = '99991231';


RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;LI-SPOILER&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Rixile106_0-1637062473789.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/65745i2C332A482624B44C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Rixile106_0-1637062473789.png" alt="Rixile106_0-1637062473789.png" /&gt;&lt;/span&gt;&lt;LI-SPOILER&gt;Expected outcome:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Rixile106_1-1637062572540.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/65746i2317080BB190ED38/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Rixile106_1-1637062572540.png" alt="Rixile106_1-1637062572540.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI-SPOILER&gt;&lt;/LI-SPOILER&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Nov 2021 11:37:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/replicate-values-from-column-A-EXP-DT-to-other-new-dt/m-p/780393#M248659</guid>
      <dc:creator>Rixile106</dc:creator>
      <dc:date>2021-11-16T11:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: replicate values from column A_EXP_DT to other new_dt</title>
      <link>https://communities.sas.com/t5/SAS-Programming/replicate-values-from-column-A-EXP-DT-to-other-new-dt/m-p/780395#M248660</link>
      <description>&lt;P&gt;I think this is what you want:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data VIEW;
set TEST;
new_dt = A_EXP_DT;
if A_EXP_DT = '99999999' then new_dt = '99991231';
RUN;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 16 Nov 2021 11:45:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/replicate-values-from-column-A-EXP-DT-to-other-new-dt/m-p/780395#M248660</guid>
      <dc:creator>EyalGonen</dc:creator>
      <dc:date>2021-11-16T11:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: replicate values from column A_EXP_DT to other new_dt</title>
      <link>https://communities.sas.com/t5/SAS-Programming/replicate-values-from-column-A-EXP-DT-to-other-new-dt/m-p/780397#M248662</link>
      <description>&lt;P&gt;How about&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data VIEW;

   set TEST;

   new_dt = A_EXP_DT;
   if A_EXP_DT = '99999999' then new_dt = '99991231';

RUN;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 16 Nov 2021 11:46:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/replicate-values-from-column-A-EXP-DT-to-other-new-dt/m-p/780397#M248662</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2021-11-16T11:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: replicate values from column A_EXP_DT to other new_dt</title>
      <link>https://communities.sas.com/t5/SAS-Programming/replicate-values-from-column-A-EXP-DT-to-other-new-dt/m-p/780399#M248664</link>
      <description>&lt;P&gt;exactly what i want .thank you&amp;nbsp; a lot&lt;/P&gt;</description>
      <pubDate>Tue, 16 Nov 2021 11:54:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/replicate-values-from-column-A-EXP-DT-to-other-new-dt/m-p/780399#M248664</guid>
      <dc:creator>Rixile106</dc:creator>
      <dc:date>2021-11-16T11:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: replicate values from column A_EXP_DT to other new_dt</title>
      <link>https://communities.sas.com/t5/SAS-Programming/replicate-values-from-column-A-EXP-DT-to-other-new-dt/m-p/780400#M248665</link>
      <description>&lt;PRE&gt;&lt;CODE class=""&gt;This may help&lt;BR /&gt;data VIEW;
set TEST;
A_EXP_DT =new_dt ;
if A_EXP_DT = '99999999' then new_dt = '99991231';
RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Nov 2021 12:07:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/replicate-values-from-column-A-EXP-DT-to-other-new-dt/m-p/780400#M248665</guid>
      <dc:creator>Venky3110</dc:creator>
      <dc:date>2021-11-16T12:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: replicate values from column A_EXP_DT to other new_dt</title>
      <link>https://communities.sas.com/t5/SAS-Programming/replicate-values-from-column-A-EXP-DT-to-other-new-dt/m-p/780996#M248899</link>
      <description>It is what COALESCE functions do.&lt;BR /&gt;As this column seems to hold what looks like a date but as a character string, the particular function might be&lt;BR /&gt;COALESCEC()</description>
      <pubDate>Thu, 18 Nov 2021 11:45:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/replicate-values-from-column-A-EXP-DT-to-other-new-dt/m-p/780996#M248899</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2021-11-18T11:45:47Z</dc:date>
    </item>
  </channel>
</rss>

