Hi,
I am using proc report with ODS to generate the output in RTF. I am getting the following warning message when generating the output. The output is OK but not sure why I'm getting this warning message. I know this problem is coming when defining label for 'rate' and 'name' variables. When I put a label for these variables, I am not getting any warning message. It's just only when I assign label as empty. Appreicate if some one can help me with this.
WARNING: Use of CELLWIDTH/OUTPUTWIDTH= in a spanning header or footer will rarely yield expected results. For conventional usage, specify outputwidth only for the data column cells.
WARNING: Use of CELLWIDTH/OUTPUTWIDTH= in a spanning header or footer will rarely yield expected results. For conventional usage, specify outputwidth only for the data column cells.
proc report data = final nowd split='|' spacing=1 missing
style = [outputwidth = 9 in]
style(header)=[asis = on just = center protectspecialchars = off]
style(column)=[asis = on protectspecialchars = off];
column mypage index var sort rate name cnt ;
define index / order order=internal noprint;
define var / order order=internal noprint;
define sort / order order=internal noprint;
define mypage / order order=internal noprint;
define rate / display ' ' style=[just=l cellwidth=25];
define name / display ' ' style=[just=l cellwidth=40];
define cnt / display 'Total' style=[just=l cellwidth=15] ;
break after mypage / page;
compute before index; line '' ; endcomp;
compute after _page_; line '' ; endcomp;
run ;
ods rtf close;
ods listing;