<?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 query in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/update-query/m-p/483604#M125422</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/21262"&gt;@hashman&lt;/a&gt;&amp;nbsp;Boss, Sorry for my response in later part of the thread (deliberately). The reason is, I tried to suggest OP all that came to my mind. And for whatever reason OP has responded saying unsuccessful. Even to the previous one just before this. Apparently, so simple thread had extended too long and is still open &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;&lt;SPAN class="token procnames"&gt;data&lt;/SPAN&gt; want&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token keyword"&gt;set&lt;/SPAN&gt; have&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token keyword"&gt;if&lt;/SPAN&gt; col1&lt;SPAN class="token operator"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt; &lt;SPAN class="token keyword"&gt;then&lt;/SPAN&gt; col2&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;'Y'&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;SPAN class="token comment"&gt;*if col1 is numeric;&lt;/SPAN&gt;
&lt;SPAN class="token operator"&gt;/&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;*&lt;/SPAN&gt;&lt;SPAN class="token keyword"&gt;if&lt;/SPAN&gt; col1&lt;SPAN class="token operator"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;' '&lt;/SPAN&gt; &lt;SPAN class="token keyword"&gt;then&lt;/SPAN&gt; col2&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;'Y'&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;SPAN class="token comment"&gt;*if col1 is character;&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;*&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;/&lt;/SPAN&gt;
&lt;SPAN class="token procnames"&gt;run&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 02 Aug 2018 22:01:46 GMT</pubDate>
    <dc:creator>novinosrin</dc:creator>
    <dc:date>2018-08-02T22:01:46Z</dc:date>
    <item>
      <title>update query</title>
      <link>https://communities.sas.com/t5/SAS-Programming/update-query/m-p/483505#M125372</link>
      <description>&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in my dataset, I have a column with values and null. I need your guidance to write a code to check if there is no null, assign values to another column. For example, on C1, I have&amp;nbsp;values, but I want to update my C2 where there is a value on C1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nazanin&lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2018 18:03:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/update-query/m-p/483505#M125372</guid>
      <dc:creator>NazaninSAS</dc:creator>
      <dc:date>2018-08-02T18:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: update query</title>
      <link>https://communities.sas.com/t5/SAS-Programming/update-query/m-p/483509#M125374</link>
      <description>&lt;P&gt;Please post a sample of the data you want and a sample of data you want meaning what it looks like and what you want it or expect it to look like. Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2018 18:08:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/update-query/m-p/483509#M125374</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-08-02T18:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: update query</title>
      <link>https://communities.sas.com/t5/SAS-Programming/update-query/m-p/483513#M125376</link>
      <description>&lt;TABLE border="0" cellspacing="0" cellpadding="2"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;Col1&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;col2&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P align="right"&gt;&lt;FONT face="Calibri" size="3"&gt;1&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P align="right"&gt;&lt;FONT face="Calibri" size="3"&gt;2&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P align="right"&gt;&lt;FONT face="Calibri" size="3"&gt;25&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;Y&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P align="right"&gt;&lt;FONT face="Calibri" size="3"&gt;3&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P align="right"&gt;&lt;FONT face="Calibri" size="3"&gt;4&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P align="right"&gt;&lt;FONT face="Calibri" size="3"&gt;6&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P align="right"&gt;&lt;FONT face="Calibri" size="3"&gt;29&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P align="left"&gt;&lt;FONT face="Calibri" size="3"&gt;Y&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P align="right"&gt;&lt;FONT face="Calibri" size="3"&gt;7&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P align="right"&gt;&lt;FONT face="Calibri" size="3"&gt;9&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;so I want to update Col2, when Col1 is not null.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2018 18:28:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/update-query/m-p/483513#M125376</guid>
      <dc:creator>NazaninSAS</dc:creator>
      <dc:date>2018-08-02T18:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: update query</title>
      <link>https://communities.sas.com/t5/SAS-Programming/update-query/m-p/483514#M125377</link>
      <description>&lt;P&gt;do you mean this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data want;&lt;/P&gt;
&lt;P&gt;set have;&lt;/P&gt;
&lt;P&gt;if not missing(col1) then col2=col1;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2018 18:29:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/update-query/m-p/483514#M125377</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-08-02T18:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: update query</title>
      <link>https://communities.sas.com/t5/SAS-Programming/update-query/m-p/483515#M125378</link>
      <description>&lt;P&gt;if there is value on Col1, I want&amp;nbsp; to assign "Y" to Col2.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2018 18:32:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/update-query/m-p/483515#M125378</guid>
      <dc:creator>NazaninSAS</dc:creator>
      <dc:date>2018-08-02T18:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: update query</title>
      <link>https://communities.sas.com/t5/SAS-Programming/update-query/m-p/483516#M125379</link>
      <description>&lt;P&gt;I wrote this, but it&amp;nbsp;doesn't work&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; Update;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;set&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; SINewCol;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;if&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; not missing(Col1) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;then&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; Col2='Y';&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2018 18:34:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/update-query/m-p/483516#M125379</guid>
      <dc:creator>NazaninSAS</dc:creator>
      <dc:date>2018-08-02T18:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: update query</title>
      <link>https://communities.sas.com/t5/SAS-Programming/update-query/m-p/483518#M125381</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input col1;
cards;
1
.
2
.
3
.
4
;

data want;
set have;
if not missing(col1) then col2='Y';
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 02 Aug 2018 18:36:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/update-query/m-p/483518#M125381</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-08-02T18:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: update query</title>
      <link>https://communities.sas.com/t5/SAS-Programming/update-query/m-p/483521#M125382</link>
      <description>&lt;P&gt;or you can also write the above as&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;&lt;SPAN class="token keyword"&gt;if&lt;/SPAN&gt; col1 &lt;SPAN class="token keyword"&gt;then&lt;/SPAN&gt; col2&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;'Y'&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;just another variant of the same&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2018 18:39:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/update-query/m-p/483521#M125382</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-08-02T18:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: update query</title>
      <link>https://communities.sas.com/t5/SAS-Programming/update-query/m-p/483525#M125385</link>
      <description>&lt;P&gt;I don't want to use cards.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what should I use instead?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2018 18:54:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/update-query/m-p/483525#M125385</guid>
      <dc:creator>NazaninSAS</dc:creator>
      <dc:date>2018-08-02T18:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: update query</title>
      <link>https://communities.sas.com/t5/SAS-Programming/update-query/m-p/483526#M125386</link>
      <description>&lt;P&gt;I just created a sample to test. That's the reason I named data &lt;STRONG&gt;have&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;The data want&amp;nbsp;&lt;/STRONG&gt;step actually is the code that you should use on your real dataset&lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2018 18:57:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/update-query/m-p/483526#M125386</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-08-02T18:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: update query</title>
      <link>https://communities.sas.com/t5/SAS-Programming/update-query/m-p/483527#M125387</link>
      <description>&lt;P&gt;This is what I have but it gives me error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; update;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;set&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; Sinewcol;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;if&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; (DIS1) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;then&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; PWD=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'Y'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2018 18:59:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/update-query/m-p/483527#M125387</guid>
      <dc:creator>NazaninSAS</dc:creator>
      <dc:date>2018-08-02T18:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: update query</title>
      <link>https://communities.sas.com/t5/SAS-Programming/update-query/m-p/483530#M125388</link>
      <description>&lt;P&gt;what's the error, please post the log report&lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2018 19:01:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/update-query/m-p/483530#M125388</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-08-02T19:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: update query</title>
      <link>https://communities.sas.com/t5/SAS-Programming/update-query/m-p/483534#M125389</link>
      <description>&lt;P&gt;49&lt;/P&gt;&lt;P&gt;465! ;&lt;/P&gt;&lt;P&gt;NOTE 49-169: The meaning of an identifier after a quoted string might change in a future SAS&lt;/P&gt;&lt;P&gt;release. Inserting white space between a quoted string and the succeeding&lt;/P&gt;&lt;P&gt;identifier is recommended.&lt;/P&gt;&lt;P&gt;467 data update;&lt;/P&gt;&lt;P&gt;468 set Sinewcol;&lt;/P&gt;&lt;P&gt;469 if DIS1 then PWD = 'Y ';&lt;/P&gt;&lt;P&gt;470 run;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2018 19:05:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/update-query/m-p/483534#M125389</guid>
      <dc:creator>NazaninSAS</dc:creator>
      <dc:date>2018-08-02T19:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: update query</title>
      <link>https://communities.sas.com/t5/SAS-Programming/update-query/m-p/483538#M125391</link>
      <description>&lt;P&gt;try&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;if&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;DIS1&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;then&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;PWD=&lt;/FONT&gt;&lt;FONT face="Courier New" size="2" color="#800080"&gt;'Y'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;instead of&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;if&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(DIS1)&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="Courier New" size="2" color="#0000ff"&gt;then&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;PWD=&lt;FONT face="Courier New" size="2" color="#800080"&gt;'Y'&lt;/FONT&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;though i don't think that would make any difference&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2018 19:12:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/update-query/m-p/483538#M125391</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-08-02T19:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: update query</title>
      <link>https://communities.sas.com/t5/SAS-Programming/update-query/m-p/483539#M125392</link>
      <description>&lt;P&gt;I tried both.&lt;/P&gt;&lt;P&gt;no difference&lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2018 19:13:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/update-query/m-p/483539#M125392</guid>
      <dc:creator>NazaninSAS</dc:creator>
      <dc:date>2018-08-02T19:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: update query</title>
      <link>https://communities.sas.com/t5/SAS-Programming/update-query/m-p/483540#M125393</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/223883"&gt;@NazaninSAS&lt;/a&gt;, this is not an error. It is a note. You can read more about that particular note in a related thread here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/Base-SAS-Programming/quot-NOTE-49-169-The-meaning-of-an-identifier-after-a-quoted/td-p/121796" target="_blank"&gt;https://communities.sas.com/t5/Base-SAS-Programming/quot-NOTE-49-169-The-meaning-of-an-identifier-after-a-quoted/td-p/121796&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2018 19:13:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/update-query/m-p/483540#M125393</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2018-08-02T19:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: update query</title>
      <link>https://communities.sas.com/t5/SAS-Programming/update-query/m-p/483543#M125395</link>
      <description>&lt;P&gt;try another variant:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
set have;
if col1&amp;gt;. then col2='Y';*if col1 is numeric;
/*if col1&amp;gt;' ' then col2='Y';*if col1 is character;*/
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 02 Aug 2018 19:18:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/update-query/m-p/483543#M125395</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-08-02T19:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: update query</title>
      <link>https://communities.sas.com/t5/SAS-Programming/update-query/m-p/483550#M125400</link>
      <description>&lt;P&gt;no luck!! &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2018 19:30:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/update-query/m-p/483550#M125400</guid>
      <dc:creator>NazaninSAS</dc:creator>
      <dc:date>2018-08-02T19:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: update query</title>
      <link>https://communities.sas.com/t5/SAS-Programming/update-query/m-p/483555#M125402</link>
      <description>&lt;P&gt;I am afraid you really need to share the best sample of what dataset you have for the community to test. More exact or close to being exact will help&lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2018 19:39:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/update-query/m-p/483555#M125402</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-08-02T19:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: update query</title>
      <link>https://communities.sas.com/t5/SAS-Programming/update-query/m-p/483603#M125421</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/138205"&gt;@novinosrin&lt;/a&gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I love Boolean expressions but using one in this situation is a bit precarious. It would work perfectly well if the spec said "if COL1 is missing OR zero then value COL2". But because it says just "if COL1 has no value", it supposedly excludes COL1=0 since the laatter&amp;nbsp;&lt;EM&gt;is&lt;/EM&gt; a value. Hence, in this case confining the expression specifically to missing values only would be safer since it would mean making no assumptions about data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Paul D.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2018 21:56:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/update-query/m-p/483603#M125421</guid>
      <dc:creator>hashman</dc:creator>
      <dc:date>2018-08-02T21:56:20Z</dc:date>
    </item>
  </channel>
</rss>

