LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (June 2002, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 18 Jun 2002 12:52:50 -0700
Reply-To:     MNess@CROMEDICA.COM
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Matthew Ness <MNess@CROMEDICA.COM>
Subject:      Re: PROC REPORT
Content-type: text/plain; charset=us-ascii

You bet there is. From SAS OnlineDoc:

COLUMN Statement

COLUMN column-specification(s);

column-specification(s) is one or more of the following: report-item(s) report-item-1, report-item-2 <. . . , report-item-n> (`header-1 ' < . . . `header-n '> report-item(s) )

(`header-1 ' < . . . `header-n '> report-item(s)) creates one or more headers that span multiple columns.

header is a string of characters that spans one or more columns in the report. PROC REPORT prints each header on a separate line. You can use split characters in a header to split one header over multiple lines. See the discussion of SPLIT= .

In traditional (monospace) SAS output, if the first and last characters of a header are one of the following characters, PROC REPORT uses that character to expand the header to fill the space over the column or columns: :- = \_ .* +

Similarly, if the first character of a header is < and the last character is >, or vice-versa, PROC REPORT expands the header to fill the space over the column by repeating the first character before the text of the header and the last character after it.

report-item(s) specifies the columns to span.

David Friedman <harrypotterdhf@EART To: SAS-L@LISTSERV.UGA.EDU HLINK.NET> cc: Sent by: "SAS(r) Subject: PROC REPORT Discussion" <SAS-L@LISTSERV.UGA. EDU>

18/06/02 12:43 PM Please respond to David Friedman

Is there a way to make column headings in proc report such that there is a sub heading as in the example below, Physical Characteristics having sub headings of weight and height?

Patient Number Physical Characteristics -------------- ------------------------------- Height(lb) Weight (inches) --------- --------------- 1000 60 90 2000 72 180


Back to: Top of message | Previous page | Main SAS-L page