The NOWD option runs PROC REPORT without the REPORT window and sends its output to the SAS procedure output. HEADLINE underlines all column headers and the spaces between them.
proc report data=grocmiss nowd headline;