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

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