data book5;
set book4;
run;
proc sort data=book5;
by date ;
run;
223 proc sort data=book5;
224 by date time;
225 run;
ERROR: Utility file write failed. Probable disk full condition.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: There were 670977 observations read from the data set WORK.BOOK5.
WARNING: The data set WORK.BOOK5 may be incomplete. When this step was stopped there were 0 observations and 45 variables.
WARNING: Data set WORK.BOOK5 was not replaced because this step was stopped.
NOTE: PROCEDURE SORT used (Total process time):
real time 7.67 seconds
cpu time 1.45 seconds
226
227 proc sort data=book5;
228 by date ;
229 run;
ERROR: Utility file write failed. Probable disk full condition.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: There were 684545 observations read from the data set WORK.BOOK5.
WARNING: The data set WORK.BOOK5 may be incomplete. When this step was stopped there were 0 observations and 45 variables.
WARNING: Data set WORK.BOOK5 was not replaced because this step was stopped.
NOTE: PROCEDURE SORT used (Total process time):
real time 3.82 seconds
cpu time 0.84 seconds作者: shiyiming 时间: 2010-7-30 23:19 标题: Re: 排序不能之问题? 娶个或者猜个date的中间值。
proc sort data = book4(where = (date < middle_date)) out = book5_1; by date;
proc sort; by date time;
run;
proc sort data = book4(where = (date >= middle_date)) out = book5_2; by date;
proc sort; by date time;
run;
data book5;
set book5_1 book5_2; by date time;
run;