<?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: Proc DS2 overwrite not working when used with circular/recursive set statement in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-DS2-overwrite-not-working-when-used-with-circular-recursive/m-p/718156#M222197</link>
    <description>&lt;P&gt;You can't replace a data set in place afaik.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Feb 2021 08:52:35 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2021-02-10T08:52:35Z</dc:date>
    <item>
      <title>Proc DS2 overwrite not working when used with circular/recursive set statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-DS2-overwrite-not-working-when-used-with-circular-recursive/m-p/718125#M222177</link>
      <description>&lt;P&gt;The following fails with the errors:&lt;/P&gt;&lt;P&gt;ERROR: Compilation error.&lt;BR /&gt;ERROR: Base table or view already exists A&lt;BR /&gt;ERROR: Unable to execute CREATE TABLE statement for table work.A.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is there a way to iterate on the same data like you can in a normal data step?&amp;nbsp; I've got a process using macros where I do this that ends up being CPU bound I'd like to try threading but I need to be able to keep passing the same dataset back to the set (then replace, then set again...). The use case I'm going for is by group aggregation across thousands of columns.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;proc ds2;
data A(overwrite=yes);
method run();
set A(overwrite=yes);
end;
enddata;
run;
quit;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 05:25:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-DS2-overwrite-not-working-when-used-with-circular-recursive/m-p/718125#M222177</guid>
      <dc:creator>binary</dc:creator>
      <dc:date>2021-02-10T05:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Proc DS2 overwrite not working when used with circular/recursive set statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-DS2-overwrite-not-working-when-used-with-circular-recursive/m-p/718156#M222197</link>
      <description>&lt;P&gt;You can't replace a data set in place afaik.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 08:52:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-DS2-overwrite-not-working-when-used-with-circular-recursive/m-p/718156#M222197</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2021-02-10T08:52:35Z</dc:date>
    </item>
  </channel>
</rss>

