Published on :
Reporting INTERNAL_CREATION

HTML Page Closing Macro (Optimization)

This code is also available in: Français Deutsch Español English
This macro is part of a solution to accelerate HTML generation in SASUnit. To avoid the time cost associated with closing and reopening the ODS HTML destination (especially for HTML4), this macro redirects the output to a dummy page via the call to `_openDummyHtmlPage` instead of completely closing the destination.
Data Analysis

Type : INTERNAL_CREATION


The script does not manipulate data tables; it only manages the state of the ODS output destination.

1 Code Block
MACRO
Explanation :
Defines the `_closeHTMLPage` macro, which takes a style parameter (`i_style`) and immediately calls the `_openDummyHtmlPage` macro. This keeps the ODS destination active while changing the output file.
Copied!
1%macro _closeHTMLPage (i_style);
2%_openDummyHtmlPage (&i_style.);
3%mend _closeHTMLPage;
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.
Copyright Info : Copyright 2010-2023 HMS Analytical Software GmbH