%let dsid = %sysfunc(close(&dsid));

Close the data set.

Return