/*-------------------------------------------------------------- * * This is the SAS code used for the Tabulate Formatter example * * -------------------------------------------------------------- */ options linesize=96 pagesize=54 nocenter nodate nonumber; title ' World Wide Product Sales Report'; %tab2htm(capture=on, runmode=b); proc tabulate data=sashelp.prdsal2 formchar='82838485868788898a8b8c'x; table state, (actual predict ) * (sum*f=dollar14.2 mean*f=dollar14.2); var actual predict; class state; keylabel sum="Total"; keylabel mean="Average"; run; %tab2htm(capture=off, runmode=b, openmode=replace, htmlfile=final.html, brtitle=Tabulate Formatter Example, center=Y, tsize=+3, clcolor=blue, rlcolor=blue, twidth=90, bgtype=image, bg=marble1.jpg, encode=N);