As the first step in the decommissioning of sasCommunity.org the site has been converted to read-only mode.
Here are some tips for How to share your SAS knowledge with your professional network.
Tip of the Day:January 17
sasCommunity Tip of the Day
The STPBEGIN macro, used in SAS Stored Processes to generate the ODS statement based on the client (e.g., a Web browser, SAS Enterprise Guide, SAS Add-in for Microsoft Office, etc.), does not have an option to specify the TITLE attribute for HTML output. However, you can use the _ODSOPTIONS global macro variable to specify a browser title by setting the value before the STPBEGIN macro call as follows:
%let _ODSOPTIONS = body=_webout (title = "Title Goes Here");
You need to specify body =_webout, which is the default value for streaming output, in order to force the title to be inserted in the right place in the ODS statement. If not done this way, an error will be generated. This only works for the HTML destination and only with the SAS Stored Process Server.
Submitted By Don Henderson
Feel free to comment on this tip.