Assuming that 'end' provides some meaningful order, then you can try this. * sort by label and end to group by label;
proc sort data=iqfmt;
by label end;
run;
* then sort by label removing duplicate labels;
proc sort data=iqfmt nodupkey;
by label;
run;
... View more