%if %length(&where) ne 0
     %then %let where = (where = (&where));

Convert the WHERE clause so that it can be incorporated into the data set name.

Return