The SAS Output Delivery System and reporting techniques

Hide PROC Report column names

Accepted Solution Solved
Reply
Super Contributor
Posts: 326
Accepted Solution

Hide PROC Report column names

Hi experts,

Would it be possible not to display the column names on proc report? Thanks!

Milton


Accepted Solutions
Solution
‎09-15-2011 10:41 AM
SAS Super FREQ
Posts: 8,868

Re: Hide PROC Report column names

In the interest of completeness, PROC REPORT also has the NOHEADER option that will suppress ALL the column headers in a report. You would use a blank for the header in a DEFINE statement if you wanted to suppress only 1 variable's (or more than 1) column header.

cynthia

proc report data=sashelp.class nowd noheader;

run;

versus

proc report data=sashelp.class nowd;

  column name age sex height weight;

  define name / display ' ';

run;

View solution in original post


All Replies
Super Contributor
Posts: 326

Hide PROC Report column names

Figured it out already. Thanks!

just need to add a define column statement.

Solution
‎09-15-2011 10:41 AM
SAS Super FREQ
Posts: 8,868

Re: Hide PROC Report column names

In the interest of completeness, PROC REPORT also has the NOHEADER option that will suppress ALL the column headers in a report. You would use a blank for the header in a DEFINE statement if you wanted to suppress only 1 variable's (or more than 1) column header.

cynthia

proc report data=sashelp.class nowd noheader;

run;

versus

proc report data=sashelp.class nowd;

  column name age sex height weight;

  define name / display ' ';

run;

🔒 This topic is solved and locked.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 5192 views
  • 0 likes
  • 2 in conversation