<?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: efficient way to uodate dataset in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/efficient-way-to-uodate-dataset/m-p/35929#M8946</link>
    <description>Thank you very much. It is just what I need!</description>
    <pubDate>Wed, 23 Mar 2011 01:54:00 GMT</pubDate>
    <dc:creator>littlestone</dc:creator>
    <dc:date>2011-03-23T01:54:00Z</dc:date>
    <item>
      <title>efficient way to uodate dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/efficient-way-to-uodate-dataset/m-p/35927#M8944</link>
      <description>suppose I have two data sets which are "Main" and "Support":&lt;BR /&gt;
&lt;BR /&gt;
Main Dataset:&lt;BR /&gt;
&lt;BR /&gt;
ID    Variable_1&lt;BR /&gt;
1..........0&lt;BR /&gt;
2..........0&lt;BR /&gt;
3..........0&lt;BR /&gt;
4..........0&lt;BR /&gt;
5..........0&lt;BR /&gt;
6..........0&lt;BR /&gt;
7..........0&lt;BR /&gt;
8..........0&lt;BR /&gt;
9..........0&lt;BR /&gt;
&lt;BR /&gt;
Support Dataset:&lt;BR /&gt;
&lt;BR /&gt;
ID       Variable_1&lt;BR /&gt;
2..........False&lt;BR /&gt;
4..........True&lt;BR /&gt;
5..........False&lt;BR /&gt;
6..........True&lt;BR /&gt;
9..........True&lt;BR /&gt;
&lt;BR /&gt;
I want to update the Main data set in a way that the Variable_1 will be re-valued based on information from Support, For example, for ID 4, because the corresponding Variable_1 in the Support data set is "True", the Variable_1 in the Main data set will be re-valued to 1; similarly, for ID 2, because the corresponding Variable_1 in the Support data set is "False", the Variable_1 in the Main data set will be kept 0.&lt;BR /&gt;
&lt;BR /&gt;
So the new updated Main should be:&lt;BR /&gt;
&lt;BR /&gt;
ID    Variable_1&lt;BR /&gt;
1..........0&lt;BR /&gt;
2..........0&lt;BR /&gt;
3..........0&lt;BR /&gt;
4..........1&lt;BR /&gt;
5..........0&lt;BR /&gt;
6..........1&lt;BR /&gt;
7..........0&lt;BR /&gt;
8..........0&lt;BR /&gt;
9..........1&lt;BR /&gt;
&lt;BR /&gt;
What could be an efficient Data step or Proc SQL to accomplish such task?&lt;BR /&gt;
&lt;BR /&gt;
Thanks.</description>
      <pubDate>Tue, 22 Mar 2011 20:18:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/efficient-way-to-uodate-dataset/m-p/35927#M8944</guid>
      <dc:creator>littlestone</dc:creator>
      <dc:date>2011-03-22T20:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: efficient way to uodate dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/efficient-way-to-uodate-dataset/m-p/35928#M8945</link>
      <description>Hello Littlestone,&lt;BR /&gt;
&lt;BR /&gt;
This is a possible solution:&lt;BR /&gt;
[pre]&lt;BR /&gt;
data m;&lt;BR /&gt;
  input ID Variable_1;&lt;BR /&gt;
datalines;&lt;BR /&gt;
1 0&lt;BR /&gt;
2 0&lt;BR /&gt;
3 0&lt;BR /&gt;
4 0&lt;BR /&gt;
5 0&lt;BR /&gt;
6 0&lt;BR /&gt;
7 0&lt;BR /&gt;
8 0&lt;BR /&gt;
9 0&lt;BR /&gt;
run;&lt;BR /&gt;
data s;&lt;BR /&gt;
  input ID Variable_1 $;&lt;BR /&gt;
datalines;&lt;BR /&gt;
2 False&lt;BR /&gt;
4 True&lt;BR /&gt;
5 False&lt;BR /&gt;
6 True&lt;BR /&gt;
9 True&lt;BR /&gt;
run;&lt;BR /&gt;
proc SQL;&lt;BR /&gt;
  create table r as &lt;BR /&gt;
  select a.ID, &lt;BR /&gt;
  case&lt;BR /&gt;
    when UPCASE(b.Variable_1) = "TRUE"  then 1&lt;BR /&gt;
    when UPCASE(b.Variable_1) = "FALSE" or UPCASE(b.Variable_1) = "" then 0&lt;BR /&gt;
    else                                    -1&lt;BR /&gt;
  end as Variable_1&lt;BR /&gt;
  from m as a left join s as b &lt;BR /&gt;
  on a.ID=b.ID&lt;BR /&gt;
;quit;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
Sincerely,&lt;BR /&gt;
SPR</description>
      <pubDate>Tue, 22 Mar 2011 20:58:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/efficient-way-to-uodate-dataset/m-p/35928#M8945</guid>
      <dc:creator>SPR</dc:creator>
      <dc:date>2011-03-22T20:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: efficient way to uodate dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/efficient-way-to-uodate-dataset/m-p/35929#M8946</link>
      <description>Thank you very much. It is just what I need!</description>
      <pubDate>Wed, 23 Mar 2011 01:54:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/efficient-way-to-uodate-dataset/m-p/35929#M8946</guid>
      <dc:creator>littlestone</dc:creator>
      <dc:date>2011-03-23T01:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: efficient way to uodate dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/efficient-way-to-uodate-dataset/m-p/35930#M8947</link>
      <description>Hello, SPR&lt;BR /&gt;
&lt;BR /&gt;
Sorry to bother you again. I noticed that in your code:&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
.......proc SQL;&lt;BR /&gt;
       create table r as &lt;BR /&gt;
       select a.ID, &lt;BR /&gt;
       case........&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
You used "select a.ID", what if there are many variables in dataset a? Can I use "select a.* ?</description>
      <pubDate>Wed, 23 Mar 2011 03:18:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/efficient-way-to-uodate-dataset/m-p/35930#M8947</guid>
      <dc:creator>littlestone</dc:creator>
      <dc:date>2011-03-23T03:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: efficient way to uodate dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/efficient-way-to-uodate-dataset/m-p/35931#M8948</link>
      <description>[pre]&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
data m;&lt;BR /&gt;
  input ID Variable_1;&lt;BR /&gt;
datalines;&lt;BR /&gt;
1 0&lt;BR /&gt;
2 0&lt;BR /&gt;
3 0&lt;BR /&gt;
4 0&lt;BR /&gt;
5 0&lt;BR /&gt;
6 0&lt;BR /&gt;
7 0&lt;BR /&gt;
8 0&lt;BR /&gt;
9 0 &lt;BR /&gt;
;&lt;BR /&gt;
run;&lt;BR /&gt;
data s;&lt;BR /&gt;
  input ID Variable_1 $;&lt;BR /&gt;
datalines;&lt;BR /&gt;
2 False&lt;BR /&gt;
4 True&lt;BR /&gt;
5 False&lt;BR /&gt;
6 True&lt;BR /&gt;
9 True&lt;BR /&gt;
;&lt;BR /&gt;
run;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;DIV class="Section1"&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;P class="MsoNormal" style="text-align: left;" align="left"&gt;&lt;SPAN class="GramE"&gt;&lt;B&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: navy; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;proc&lt;/SPAN&gt;&lt;/B&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt; &lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: navy; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;format&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;P class="MsoNormal" style="text-align: left;" align="left"&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;&lt;SPAN style=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="SpellE"&gt;&lt;SPAN class="GramE"&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;invalue&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;&lt;SPAN style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="SpellE"&gt;varr&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;P class="MsoNormal" style="text-align: left;" align="left"&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;&lt;SPAN style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;
&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: purple; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;'False'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;=&lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: teal; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;0&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;P class="MsoNormal" style="text-align: left;" align="left"&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;&lt;SPAN style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;
&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: purple; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;'True'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;=&lt;/SPAN&gt;&lt;B&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: teal; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;1&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;P class="MsoNormal" style="text-align: left;" align="left"&gt;&lt;SPAN class="GramE"&gt;&lt;B&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: navy; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;run&lt;/SPAN&gt;&lt;/B&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;P class="MsoNormal" style="text-align: left;" align="left"&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;P class="MsoNormal" style="text-align: left;" align="left"&gt;&lt;SPAN class="GramE"&gt;&lt;B&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: navy; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;proc&lt;/SPAN&gt;&lt;/B&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt; &lt;/SPAN&gt;&lt;SPAN class="SpellE"&gt;&lt;B&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: navy; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;sql&lt;/SPAN&gt;&lt;/B&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;P class="MsoNormal" style="text-align: left;" align="left"&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;&lt;SPAN style=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="GramE"&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;create&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;table&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt; result &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;P class="MsoNormal" style="text-align: left;" align="left"&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;&lt;SPAN style=""&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="GramE"&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;select&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt; coalesce(&lt;SPAN class="SpellE"&gt;s.id,m.id&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt; id ,coalesce(input(s.variable_1,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: teal; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;varr.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;)&lt;BR /&gt;
,m.variable_1) &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt; &lt;SPAN class="SpellE"&gt;var&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;P class="MsoNormal" style="text-align: left;" align="left"&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;&lt;SPAN style=""&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="GramE"&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;from&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt; s &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;right&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;join&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt; m&lt;BR /&gt;
&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;on&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt; &lt;SPAN class="SpellE"&gt;s.id&lt;/SPAN&gt; = &lt;SPAN class="SpellE"&gt;m.id&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;P class="MsoNormal" style="text-align: left;" align="left"&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;&lt;SPAN style=""&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;P class="MsoNormal" style="text-align: left;" align="left"&gt;&lt;SPAN class="GramE"&gt;&lt;B&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: navy; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;quit&lt;/SPAN&gt;&lt;/B&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;; color: black; background: none repeat scroll 0% 0% white;" lang="EN-US"&gt;;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN lang="EN-US"&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN lang="EN-US"&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN lang="EN-US"&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN lang="EN-US"&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN lang="EN-US"&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN class="SpellE"&gt;&lt;B style=""&gt;&lt;SPAN style="color: navy;" lang="EN-US"&gt;Ksharp&lt;/SPAN&gt;&lt;/B&gt;&lt;/SPAN&gt;&lt;B style=""&gt;&lt;SPAN style="color: navy;" lang="EN-US"&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;/DIV&gt;

Message was edited by: Ksharp</description>
      <pubDate>Wed, 23 Mar 2011 04:53:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/efficient-way-to-uodate-dataset/m-p/35931#M8948</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2011-03-23T04:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: efficient way to uodate dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/efficient-way-to-uodate-dataset/m-p/35932#M8949</link>
      <description>Hello Littlestone,&lt;BR /&gt;
&lt;BR /&gt;
In general you can use a.* but in your request it was necessary to update variable_1. &lt;BR /&gt;
If you say a.* it means that variable_1 (without any changes) is also included, so it will be necessary to create some variable_2 according to requirements in your initial post. &lt;BR /&gt;
&lt;BR /&gt;
Sincerely,&lt;BR /&gt;
SPR</description>
      <pubDate>Wed, 23 Mar 2011 13:52:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/efficient-way-to-uodate-dataset/m-p/35932#M8949</guid>
      <dc:creator>SPR</dc:creator>
      <dc:date>2011-03-23T13:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: efficient way to uodate dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/efficient-way-to-uodate-dataset/m-p/35933#M8950</link>
      <description>thank you all for great help</description>
      <pubDate>Wed, 23 Mar 2011 17:16:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/efficient-way-to-uodate-dataset/m-p/35933#M8950</guid>
      <dc:creator>littlestone</dc:creator>
      <dc:date>2011-03-23T17:16:06Z</dc:date>
    </item>
  </channel>
</rss>

