Hi Everyone,
My data is about 5GB with 20 columns and I run this below code.
At first, I dont create NEW file and simply overwrite using: data return_cal_new2; set return_cal nobs=nobs;
It take me 30+ second and in Task Manager, I see my SSD usage is 100% (My SSD has 500+GB free). It is so weird.
OK, I change the name to return_cal_NEW (as in the code below) and run it for the first time. Now it take only 3.4 second using about with about 70% SSD. Great!
Look like over-writing is an issue.
Without deleting the NEW file, I rerun the code 2nd time, and it take me again, 3.3 second with about 70% SSD
Without deleting the NEW file, I rerun the code 3rd, and the weird behavior shows up again, 50 second and 100% SSD
I really curious what is going on here. Of course, I try several time and the pattern is similar.
Is this because of my PC (spec: intel 13700 64GB DDR5) or because of SAS (9.4)? Should I reinstall SAS?
Any explanation is very much appreciated.
HHC
data return_cal2; set return_cal;
if entry_time^=. then do;
if entry_time^=. and clock_time<='9:40't and (entry_time-clock_time)/60<=10 then fail=1;
else
if entry_time^=. and clock_time>'9:40't and (entry_time-clock_time)/60<=5 then fail=1;
else
fail=.;
end;
run;
... View more