I'm trying to export SAS table to local HTML file using ODS HTML. How can I do so?
data=WORK.TABLE_NAME;
ods html file="/user_data/maexport/monitoring t-1.html";
ods html close;
The code above saves html file, but it is empty.
The file is empty because you did not run any code that would have written something to the file between the command to open it and the command to close it.
ods html file="/user_data/maexport/monitoring t-1.html";
proc print data=WORK.TABLE_NAME;
run;
ods html close;