As the first step in the decommissioning of the site has been converted to read-only mode.

Here are some tips for How to share your SAS knowledge with your professional network.

Tip of the Day:April 15

From sasCommunity
Jump to: navigation, search

sasCommunity Tip of the Day

The text of a spanning header is used to form a label for multiple columns, and is defined in the COLUMN statement by adding a quoted string that precedes the columns that are to have the header. Parentheses are used to form groups of columns.

  proc report data=sashelp.class nowd;
     columns ('Demographics' name sex age)
             ('Measures' height weight);

You can also have nested spanning headers by nesting the parentheses:

  proc report data=sashelp.class nowd;
     columns ('Student Info' (name 
             ('Demographics' sex age))
             ('Measures' height weight));

Submitted by Art Carpenter. Contact me at my Discussion Page.

Feel free to comment on this tip.

Prior tip - Next tip - Random Tip

Submit a Tip