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

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 1171 views
  • 0 likes
  • 1 in conversation