The LIBRARY= option specifies mylib as the procedure input library. The QUIT statement stops the DATASETS procedure.
proc datasets lib=mylib; run; quit;