Send the output to the destination file. The PRINT procedure generates the text and sends it to the external file specified by PROC PRINTTO.
proc print data=reflib.dowhlc;
run;