CLASSDATA= and EXCLUSIVE restrict the class level combinations to those specified in the CLASSES data set.
options nodate pageno=1 linesize=80 pagesize=60;
proc tabulate data=energy format=dollar12. 
              classdata=classes exclusive;