/* You must specify a path for this variable */ %let path=path-to-your-web-server; ods pdf file="&path\graph_table.pdf" startpage=no style=gears; ods rtf file="&path\graph_table.rtf" startpage=no style=gears; ods listing close; goptions reset=all dev=activex ; proc freq data=sashelp.class; format weight 3.; tables age*weight/nofreq nocol norow format=BEST3.; run; title; axis1 label=(f='Verdana' "Age, in years") order=11 to 16 minor=none value=(f='Verdana' t=1 "11" t=2 "12" t=3 "13" t=4 "14" t=5 "15" t=6 "16"); axis2 label=(f='Verdana' j=r "Weight," j=r "in pounds") minor=none; proc gchart data=sashelp.class; format weight 3.; vbar3d age/sumvar=weight type=mean cframe=graycc maxis=axis1 raxis=axis2 outside=mean midpoints=11 to 16 by 1; run; quit; ods _all_ close;