This ODS HTML statement closes the HTML destination and all the files that are associated with it. To return ODS to its default setup, the ODS OUTPUT statement closes the Output destination, and the ODS LISTING statement opens the Listing destination.
ods html close;
ods output close;
ods listing;