This statement causes SAS to create html file in the directory of the sas code file, but default is only to view the output in SAS windowing environment. Does anyone know how to restore the default without closing SAS and reopening it? What option should I add to the statement? I just want to view the output in SAS windowing environment but no output html file.
Hi,
Thanks for the reply. By "restore the default", I mean that SAS will only create an output in the Results Viewer, but no local file will be created. However, if you do write:
ods html;
SAS wll not only allow you to see the file in the Results Viewer, but also create a local file which I do not need. I don't know what option I should add to avoid a local html file being created.
I know by doing "Tools --> Options --> Preferences --> Results tab and make sure that listing is off and then make sure that "Create HTML" is checked and that WORK (as the location) is also checked.", I can restore the default, but I don't know how to write code to achieve that. It seems that there is always local html file being created. Do you know what option should be used to avoid a local html file being created?
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.