Published on :
Configuration CREATION_INTERNE

Configuring ODS HTML Output by Procedure

This code is also available in: Deutsch Español Français
This script is designed to modify the default behavior introduced in SAS© 9.3 where all outputs were concatenated into a single HTML file. It closes the current HTML destination and reopens it with the NEWFILE=PROC option, ensuring that each DATA step or PROC creates a distinct HTML file. The 'ods preferences' command is included to open the preferences window in the classic Windowing Environment.
Data Analysis

Type : CREATION_INTERNE


No data manipulation is performed in this configuration script.

1 Code Block
ODS
Explanation :
Closes the active HTML destination to stop writing to the current file. 'ods preferences' opens the configuration window (in interactive 'Windowing Environment' mode). The last command reactivates HTML output with the 'newfile=proc' option, forcing the creation of a new physical file for each new procedure or Data step.
Copied!
1ods html close;
2ods preferences;
3ods html newfile = proc;
4 
This material is provided "as is" by We Are Cas. There are no warranties, expressed or implied, as to merchantability or fitness for a particular purpose regarding the materials or code contained herein. We Are Cas is not responsible for errors in this material as it now exists or will exist, nor does We Are Cas provide technical support for it.