23 data gpdb1.tests; 24 input area_code $ flag $; 25 datalines; NOTE: The data set GPDB1.TESTS has 4 observations and 2 variables. NOTE: DATA statement used (Total process time): real time 2.43 seconds cpu time 0.01 seconds 30 ; 31 run; 32 33 proc sort data=gpdb1.tests out=tests; 34 by area_code; 35 run; NOTE: Sorting was performed by the data source. NOTE: There were 4 observations read from the data set GPDB1.TESTS. NOTE: The data set WORK.TESTS has 4 observations and 2 variables. NOTE: PROCEDURE SORT used (Total process time): real time 1.25 seconds cpu time 0.01 seconds 36 37 data _null_; 38 set tests; 39 by area_code; 40 run; ERROR: BY variables are not properly sorted on data set WORK.TESTS. area_code=txnfdh flag=1 FIRST.area_code=1 LAST.area_code=1 _ERROR_=1 _N_=3