<?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: set only once in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/set-only-once/m-p/11494#M1084</link>
    <description>This part of the code is the middle portion of a macro.There are situations,when I had to make changes to the code above or below this data step and so had to run the whole code again.in those situations hhs_all gets appended again resulting in duplicate values.</description>
    <pubDate>Wed, 04 Nov 2009 15:11:18 GMT</pubDate>
    <dc:creator>SASPhile</dc:creator>
    <dc:date>2009-11-04T15:11:18Z</dc:date>
    <item>
      <title>set only once</title>
      <link>https://communities.sas.com/t5/SAS-Programming/set-only-once/m-p/11489#M1079</link>
      <description>data hhs.hhs_combine_all(compress=yes);&lt;BR /&gt;
   set  hhs.hhs_combine_all HHS_all;&lt;BR /&gt;
   description=upcase(description);&lt;BR /&gt;
   physician_name=upcase(physician_name);&lt;BR /&gt;
   ADDRESS_1=upcase(ADDRESS_1);&lt;BR /&gt;
 run;&lt;BR /&gt;
&lt;BR /&gt;
How to  load the above program to hhs.hhs_combine_all only one time.&lt;BR /&gt;
I.e to avoid loading multiple times.</description>
      <pubDate>Tue, 03 Nov 2009 20:58:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/set-only-once/m-p/11489#M1079</guid>
      <dc:creator>SASPhile</dc:creator>
      <dc:date>2009-11-03T20:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: set only once</title>
      <link>https://communities.sas.com/t5/SAS-Programming/set-only-once/m-p/11490#M1080</link>
      <description>run it once and it is run.&lt;BR /&gt;
What runs it more than once?</description>
      <pubDate>Tue, 03 Nov 2009 22:33:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/set-only-once/m-p/11490#M1080</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2009-11-03T22:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: set only once</title>
      <link>https://communities.sas.com/t5/SAS-Programming/set-only-once/m-p/11491#M1081</link>
      <description>From my perspective, the question is unclear, however from the SET statement, it appears that there is a file to be replaced by adding new observations to that same file.  But of course, the first time the file that is named in both the DATA and SET statement will not exist.  Maybe this is the question?&lt;BR /&gt;
&lt;BR /&gt;
If true, the SAS OPTIONS NODSNFERR;  can be set.  And if you have a BY statement to order the observations, you will also need to set NOVNFERR and NOBYERR, as well.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Tue, 03 Nov 2009 22:47:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/set-only-once/m-p/11491#M1081</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-11-03T22:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: set only once</title>
      <link>https://communities.sas.com/t5/SAS-Programming/set-only-once/m-p/11492#M1082</link>
      <description>should it be proc append?</description>
      <pubDate>Tue, 03 Nov 2009 23:10:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/set-only-once/m-p/11492#M1082</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2009-11-03T23:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: set only once</title>
      <link>https://communities.sas.com/t5/SAS-Programming/set-only-once/m-p/11493#M1083</link>
      <description>No he is just UPCASING 3 variables.  I have no idea what he is asking.</description>
      <pubDate>Wed, 04 Nov 2009 14:20:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/set-only-once/m-p/11493#M1083</guid>
      <dc:creator>Flip</dc:creator>
      <dc:date>2009-11-04T14:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: set only once</title>
      <link>https://communities.sas.com/t5/SAS-Programming/set-only-once/m-p/11494#M1084</link>
      <description>This part of the code is the middle portion of a macro.There are situations,when I had to make changes to the code above or below this data step and so had to run the whole code again.in those situations hhs_all gets appended again resulting in duplicate values.</description>
      <pubDate>Wed, 04 Nov 2009 15:11:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/set-only-once/m-p/11494#M1084</guid>
      <dc:creator>SASPhile</dc:creator>
      <dc:date>2009-11-04T15:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: set only once</title>
      <link>https://communities.sas.com/t5/SAS-Programming/set-only-once/m-p/11495#M1085</link>
      <description>I dont know there is any way your code will work for that purpose. you will need to control when to append the other dataset.&lt;BR /&gt;
approach 1: do all you need to do to the base dataset, and only append at the very end after all the repeating work are completed.&lt;BR /&gt;
approach 2: use different dataset name after appending so the original does not get overwritten by appending.</description>
      <pubDate>Wed, 04 Nov 2009 16:18:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/set-only-once/m-p/11495#M1085</guid>
      <dc:creator>abdullala</dc:creator>
      <dc:date>2009-11-04T16:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: set only once</title>
      <link>https://communities.sas.com/t5/SAS-Programming/set-only-once/m-p/11496#M1086</link>
      <description>Also, you might receive more useful replies and assistance when you share the entire code piece and not just a convenient snippet.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Wed, 04 Nov 2009 16:55:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/set-only-once/m-p/11496#M1086</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-11-04T16:55:37Z</dc:date>
    </item>
  </channel>
</rss>

