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 (November 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, 19 Nov 2002 14:53:43 -0700
Reply-To:   Jack Hamilton <JackHamilton@FIRSTHEALTH.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Jack Hamilton <JackHamilton@FIRSTHEALTH.COM>
Subject:   Re: proc report width=
Comments:   To: kauslander@TERRECRS.COM
Content-Type:   text/plain; charset=us-ascii

I asked for this capability in PROC REPORT a while back; apparently there's not enough perceived demand to warrant the programming effort. If you want it, send mail to suggest@sas.com.

-- JackHamilton@FirstHealth.com Manager, Technical Development METRICS Department, First Health West Sacramento, California USA

>>> Kevin Auslander <kauslander@TERRECRS.COM> 11/19/2002 1:33 PM >>> I find that I frequently need to set the width of each character variable manually when using proc report. I usually set it to a value that is equal to max(the longest word in the label, the length of the longest data value). Setting the width for each variable becomes very tedious when I have to create several reports with many variables each. I read in the help files that proc report will automatically set the column width to accommodate the format of the variable. So what I need is a macro that will set the format of each variable to max(the longest word in the label, the length of the longest data value). Does anyone out there have a macro that does this? Or does anyone have a different solution to the problem. TIA

Kevin


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