Date: Sat, 28 Mar 2009 17:13:17 -0400
Reply-To: Proc Univariate <procunivariate@YAHOO.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Proc Univariate <procunivariate@YAHOO.COM>
Subject: Re: Collapse Spaces in Column Labels in ODS PDF
You can use the following code. You need to have soc pterm invt and invr
combined using the split character you will in the proc report option. For
example if your split character is '|' then in your datasetp
combvar = strip(soc)||'|'||strip(pterm)||'|'||strip(invt)||'|'||strip
(invr);
Now proc report
proc report data = X nowindows split = '|' headline;
column combvar ('Trtmnt' '--' trt trtgrp) ('AE' '--' aestd aeend);
define combvar/ display 'SOC| PTERM| INVT| INVR' flow;
define trt/display;
define trtgrp/display;
define aestd/display;
define aeend/display;
run;