Online File
Rick Aster: Professional SAS Programming Shortcuts: Contents
proc sort data=work.incomplete; by x; run; data work.allkey (keep=x); do point = 1, nobs; set work.incomplete point=point nobs=nobs; if point = 1 then min = x; if point = nobs then max = x; end; do x = ceil(min) to max; output; end; stop; run;