<?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 How to replace CAS table faster in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/How-to-replace-CAS-table-faster/m-p/831876#M10519</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;I have some tables to load in cas (more than 4Gb) and when I go to update it takes a long time. I currently use this script&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;%if %sysfunc(exist(&amp;amp;Caslib..&amp;amp;OutTable))&amp;gt;0 %then %do;
    proc casutil;
        droptable incaslib="&amp;amp;caslib." casdata="&amp;amp;OutTable.";
    run;
%end;

proc casutil;
    load data=&amp;amp;libname..&amp;amp;table
    outcaslib="&amp;amp;caslib." casout="&amp;amp;OutTable." PROMOTE;
run;

proc casutil;
    save casdata="&amp;amp;OutTable." incaslib="&amp;amp;caslib."
    outcaslib="&amp;amp;caslib." casout="&amp;amp;OutTable." REPLACE;
run;&lt;/PRE&gt;&lt;P&gt;Is there any procedure to update the cas table + sashdat faster?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Luca&lt;/P&gt;</description>
    <pubDate>Tue, 06 Sep 2022 06:42:57 GMT</pubDate>
    <dc:creator>luca87</dc:creator>
    <dc:date>2022-09-06T06:42:57Z</dc:date>
    <item>
      <title>How to replace CAS table faster</title>
      <link>https://communities.sas.com/t5/SAS-Studio/How-to-replace-CAS-table-faster/m-p/831876#M10519</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I have some tables to load in cas (more than 4Gb) and when I go to update it takes a long time. I currently use this script&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;%if %sysfunc(exist(&amp;amp;Caslib..&amp;amp;OutTable))&amp;gt;0 %then %do;
    proc casutil;
        droptable incaslib="&amp;amp;caslib." casdata="&amp;amp;OutTable.";
    run;
%end;

proc casutil;
    load data=&amp;amp;libname..&amp;amp;table
    outcaslib="&amp;amp;caslib." casout="&amp;amp;OutTable." PROMOTE;
run;

proc casutil;
    save casdata="&amp;amp;OutTable." incaslib="&amp;amp;caslib."
    outcaslib="&amp;amp;caslib." casout="&amp;amp;OutTable." REPLACE;
run;&lt;/PRE&gt;&lt;P&gt;Is there any procedure to update the cas table + sashdat faster?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Luca&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 06:42:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/How-to-replace-CAS-table-faster/m-p/831876#M10519</guid>
      <dc:creator>luca87</dc:creator>
      <dc:date>2022-09-06T06:42:57Z</dc:date>
    </item>
  </channel>
</rss>

