Submit an ODS HTML statement. ODS sends the output to an HTML file. In addition, the ODS LISTING CLOSE statement suppresses the default listing destination.
ods listing close; ods html body="c:\test\updatereport.html"; proc metalib;