data anno;
length textweight $ 50 y1space $ 12 label $ 35 function $20;
set hlm (keep=unit pro_over_average);
rename unit=yc1;
retain y1space "datavalue" x1space "graphpercent" x1 85 function "text" y1 .
textcolor "black" textweight "normal";
label=put(pro_over_average, F5.3);
run;
data headers1;
length textweight $ 50 function $20;
length label $35;
retain y1space "graphpercent" x1space "graphpercent" function "text" y1 92
textcolor "black" textweight "bold" x1 85 label "Prob";
output;
run;
data headers2;
length textweight $ 50 function $20;
length label $35;
retain y1space "graphpercent" x1space "graphpercent" function "textcont" y1 91
textcolor "black" textweight "bold" x1 85 label "RSMCR>AVERAGE";
output;
run;
proc append base=anno(drop=pro_over_average) data=headers2 force nowarn;
run;
proc append base=anno(drop=pro_over_average) data=headers1 force nowarn;
run;