EDIT: Here is a more complete set of code that shows exactly what\'s going on per the answer below.
libname output \'/data/files/jeff\'
%let DateStart = \'01Jan
If the id is unique you might add a UNIQUE PRIMARY INDEX(id) to that table, otherwise it defaults to a Non-unique PI. Knowing about uniquenes helps the optimizer to produce a better plan.
Without more info like an Explain (just put EXPLAIN in front of the SELECT) it's hard to tell how this can be improved.