BookmarkSubscribeRSS Feed
luca87
Obsidian | Level 7

Hi,
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

 

%if %sysfunc(exist(&Caslib..&OutTable))>0 %then %do;
    proc casutil;
        droptable incaslib="&caslib." casdata="&OutTable.";
    run;
%end;

proc casutil;
    load data=&libname..&table
    outcaslib="&caslib." casout="&OutTable." PROMOTE;
run;

proc casutil;
    save casdata="&OutTable." incaslib="&caslib."
    outcaslib="&caslib." casout="&OutTable." REPLACE;
run;

Is there any procedure to update the cas table + sashdat faster?

 

 

Thanks,

Luca

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

Explore Now →
Develop Code with SAS Studio

Get started using SAS Studio to write, run and debug your SAS programs.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 0 replies
  • 1473 views
  • 0 likes
  • 1 in conversation