<?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: Macro for checking updates in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Macro-for-checking-updates/m-p/601885#M174169</link>
    <description>&lt;P&gt;Since a change in the spreadsheet might easily cause a change in the &lt;EM&gt;structure&lt;/EM&gt; of the dataset, updates cannot be done (simply) in a reliable way.&lt;/P&gt;
&lt;P&gt;You can only rewrite the dataset and try to live with the unpredictable results.&lt;/P&gt;
&lt;P&gt;To make such a process sustainable and reliable, you need to cut Excel out of your data processing chain.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Nov 2019 07:16:36 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2019-11-06T07:16:36Z</dc:date>
    <item>
      <title>Macro for checking updates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-for-checking-updates/m-p/601856#M174151</link>
      <description>Need a Macro to update the values in the Sas dataset automatically if there is an update in excel sheet , if there is no update then the data set should not update. Please help me with code as I am starter. Thank u all!</description>
      <pubDate>Wed, 06 Nov 2019 03:42:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-for-checking-updates/m-p/601856#M174151</guid>
      <dc:creator>Deepuu</dc:creator>
      <dc:date>2019-11-06T03:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: Macro for checking updates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-for-checking-updates/m-p/601857#M174152</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/298430"&gt;@Deepuu&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Need a Macro to update the values in the Sas dataset automatically if there is an update in excel sheet , if there is no update then the data set should not update. Please help me with code as I am starter. Thank u all!&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) Explain why you need a macro, and what you think that will get you?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2) Define "automatically".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3) Is your dataset an exact replica of your Excel worksheet?&amp;nbsp; If so, then just reimport the worksheet and overwrite your dataset.&amp;nbsp; If not, then add more detail to your question.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 03:50:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-for-checking-updates/m-p/601857#M174152</guid>
      <dc:creator>ScottBass</dc:creator>
      <dc:date>2019-11-06T03:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: Macro for checking updates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-for-checking-updates/m-p/601878#M174167</link>
      <description>&lt;P&gt;You will need to&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Import the Sheet (=work.sheet)&lt;/LI&gt;
&lt;LI&gt;Compare it with an older and permanently saved version of the dataset (=archive.sheet)&lt;/LI&gt;
&lt;LI&gt;Use the return code of proc compare to decide whether a relevant change was found or not.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Always keep in mind, that using an Excel sheet as data-source is close to the worst decision possible, when deciding about file-types. There are numerous posts explaining the problems that will occur, so i skip that now.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 06:56:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-for-checking-updates/m-p/601878#M174167</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2019-11-06T06:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: Macro for checking updates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-for-checking-updates/m-p/601885#M174169</link>
      <description>&lt;P&gt;Since a change in the spreadsheet might easily cause a change in the &lt;EM&gt;structure&lt;/EM&gt; of the dataset, updates cannot be done (simply) in a reliable way.&lt;/P&gt;
&lt;P&gt;You can only rewrite the dataset and try to live with the unpredictable results.&lt;/P&gt;
&lt;P&gt;To make such a process sustainable and reliable, you need to cut Excel out of your data processing chain.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 07:16:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-for-checking-updates/m-p/601885#M174169</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-11-06T07:16:36Z</dc:date>
    </item>
  </channel>
</rss>

