%let rc = %sysfunc(dosubl(%nrbquote(
%getDistinct(data=sashelp.shoes
            ,vars=product
            ,out=productList)
)));

Use the DOSUBL facility (see the documentation link in Chapter 3) to run a macro tool that creates a data set that is the list of distinct products to use in the select tag.

Return