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

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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