The FORMAT= option specifies COMMA12. as the default format for the value in each table cell.
options nodate pageno=1 linesize=64 pagesize=60; proc tabulate data=energy format=comma12.;