Here is a sample dataset and code that is producing the same issue:
data weight2;
infile datalines missover;
input IDnumber $ Week1 Week16;
WeightLoss2=Week1-Week16;
datalines;
2477 195 163
2456 173 155
2412 135 116
;
proc format;
value cfmt
0-140='red'
140-180 ='yellow'
180-200='green'
;
value dot
low-high='^{style [vjust=c fontsize=20pt]^{unicode 25cf}}';
run;
ods escapechar="^";
options emailsys= ;
options emailauthprotocol=none;
options emailhost= ;
/*options emailport=25;*/
options emailID = ;
options emailpw = ;
filename temp email
to =
/* cc = */
/* bcc = */
subject="test"
type="text/html"
from = ;
title;
ODS html body=temp;
PROC REPORT DATA=weight2 headline headskip split='*'
style(column header summary) = {font_size=2 background=white font_face="Arial" vjust=c};
column Week1 IDNUMBER;
define Week1/ style(column)=[foreground=cfmt. vjust=c] format=dot. ' ';
DEFINE IDNUMBER / group style(column)=[vjust=c] center 'ID' width=12;
run;
ods _all_ close; SAS does not seem able to render this output within SAS, so the only output I have is the actual email I am receiving through outlook.
... View more