Specify the table options and the output data set. The OUT= option specifies the name of the output data set to which PROC TABULATE writes the data.
proc tabulate data=energy format=dollar12. out=tabdata;