<?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 Conditional updating using SAS DDE in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Conditional-updating-using-SAS-DDE/m-p/10344#M981</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I have attached the part of the code, and have put the comments also. Code is running perfect for updating the Xl for today's date...only problem with if any missing data for Y'day date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Sudtej&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Feb 2012 07:12:58 GMT</pubDate>
    <dc:creator>Sudtej</dc:creator>
    <dc:date>2012-02-23T07:12:58Z</dc:date>
    <item>
      <title>Conditional updating using SAS DDE</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Conditional-updating-using-SAS-DDE/m-p/10342#M979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am updating an excel sheet using SAS DDE. The data is in following format,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 274px;"&gt;&lt;TBODY&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD class="xl65" height="20" style="height: 15pt; width: 48pt;" width="64"&gt;date&lt;/TD&gt;&lt;TD class="xl65" style="width: 53pt;" width="70"&gt;a.xls&lt;/TD&gt;&lt;TD class="xl65" style="width: 53pt;" width="70"&gt;b.xls&lt;/TD&gt;&lt;TD class="xl65" style="width: 53pt;" width="70"&gt;c.xls&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD class="xl65" height="20" style="height: 15pt;"&gt;1&lt;/TD&gt;&lt;TD class="xl65"&gt;456546&lt;/TD&gt;&lt;TD class="xl65"&gt;456546&lt;/TD&gt;&lt;TD class="xl65"&gt;456546&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD class="xl65" height="20" style="height: 15pt;"&gt;2&lt;/TD&gt;&lt;TD class="xl65"&gt;5643&lt;/TD&gt;&lt;TD class="xl65"&gt;5643&lt;/TD&gt;&lt;TD class="xl65"&gt;5643&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD class="xl65" height="20" style="height: 15pt;"&gt;3&lt;/TD&gt;&lt;TD class="xl65"&gt;44&lt;/TD&gt;&lt;TD class="xl65"&gt;44&lt;/TD&gt;&lt;TD class="xl65"&gt;44&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD class="xl65" height="20" style="height: 15pt;"&gt;4&lt;/TD&gt;&lt;TD class="xl65"&gt;3&lt;/TD&gt;&lt;TD class="xl65"&gt;3&lt;/TD&gt;&lt;TD class="xl65"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD class="xl65" height="20" style="height: 15pt;"&gt;5&lt;/TD&gt;&lt;TD class="xl65"&gt;4656&lt;/TD&gt;&lt;TD class="xl65"&gt;.&lt;/TD&gt;&lt;TD class="xl65"&gt;123&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 15pt;"&gt;&lt;TD class="xl65" height="20" style="height: 15pt;"&gt;6&lt;/TD&gt;&lt;TD class="xl65"&gt;454542332&lt;/TD&gt;&lt;TD class="xl65"&gt;454542332&lt;/TD&gt;&lt;TD class="xl65"&gt;567&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Here, I am importing data daily from few XL sheets like a, b, c. So, each row represents data collected each day &amp;amp; cell, a particular value from the source XL sheet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The requirement is that if y'day's data is not updated (i.e. cell is having '.'), I need to update it along with today's value. I am storing today's and y'day's data in a macro variable at start.Then I update today's row, then I will go through y'day's row and if any of the cell (R5:b.xls) is with &lt;EM&gt;missing value&lt;/EM&gt;, will update it from macro variable. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am seeing the value for y'day's &lt;EM&gt;missing value&lt;/EM&gt; cell, being updated in some other cell. &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://communities.sas.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2012 17:39:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Conditional-updating-using-SAS-DDE/m-p/10342#M979</guid>
      <dc:creator>Sudtej</dc:creator>
      <dc:date>2012-02-22T17:39:18Z</dc:date>
    </item>
    <item>
      <title>Conditional updating using SAS DDE</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Conditional-updating-using-SAS-DDE/m-p/10343#M980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You would have to show your code and attach a zipped example spreadsheet in order to know what you are doing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sure sounds like it would be easier to simply import the spreadsheet then, in a datastep, use update.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2012 17:50:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Conditional-updating-using-SAS-DDE/m-p/10343#M980</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-02-22T17:50:51Z</dc:date>
    </item>
    <item>
      <title>Conditional updating using SAS DDE</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Conditional-updating-using-SAS-DDE/m-p/10344#M981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I have attached the part of the code, and have put the comments also. Code is running perfect for updating the Xl for today's date...only problem with if any missing data for Y'day date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Sudtej&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 07:12:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Conditional-updating-using-SAS-DDE/m-p/10344#M981</guid>
      <dc:creator>Sudtej</dc:creator>
      <dc:date>2012-02-23T07:12:58Z</dc:date>
    </item>
  </channel>
</rss>

