The NOWD option runs the REPORT procedure without the REPORT window and sends its output to the SAS procedure output. HEADLINE underlines all column headers and the spaces between them at the top of each page of the report. HEADSKIP writes a blank line beneath the underlining that HEADLINE writes.
proc report data=grocery nowd
     headline
     headskip;