Features: |
PROC SORT statement option: : EQUALS | NOEQUALS |
Other features: |
PROC PRINT |
data insurance; input YearsWorked 1 InsuranceID 3-5; datalines; 5 421 5 336 1 209 1 564 3 711 3 343 4 212 4 616 ;
proc sort data=insurance out=byyears1 equals;
by yearsworked; run;
proc print data=byyears1;
var yearsworked insuranceid;
title 'Sort with EQUALS'; run;
proc sort data=insurance out=byyears2 noequals;
by yearsworked; run;
proc print data=byyears2;
var yearsworked insuranceid;
title 'Sort with NOEQUALS'; run;
data insurance; input YearsWorked 1 InsuranceID 3-5; datalines; 5 421 5 336 1 209 1 564 3 711 3 343 4 212 4 616 ;