ERROR: A component of… is not a directory. No body file. HTML output will not be created.

SAS Windowing Environment

ERROR: A component of C:\Users\... is not a directory.
ERROR: No body file. HTML output will not be created.

Original Code

ods html file  = "C:/Users/xxformat/Documents/demo.html" ;
         
proc print data=sashelp.class;
run;

ods html close;

Updated Code

ods html path  = 'C:/Users/xxformat/Documents/' file='demo.html';
         
proc print data=sashelp.class;
run;

ods html close;FFFFDB

Leave a Reply

Your email address will not be published. Required fields are marked *