Alors que dans SAS® Studio, l’option file= permet de spécifier à la fois le chemin d’accès et le nom de votre fichier de sortie, SAS® Windowing Environment nécessite deux options distinctes : path= et file=. Voici un exemple.
Le problème
ERROR: A component of C:\Users\... is not a directory.
ERROR: No body file. HTML output will not be created.

Le code d’origine
ods html file = "C:/Users/xxformat/Documents/demo.html" ;
proc print data=sashelp.class;
run;
ods html close;
Le code mis à jour
ods html path = 'C:/Users/xxformat/Documents/' file='demo.html';
proc print data=sashelp.class;
run;
ods html close;
Laisser un commentaire