Date: Wed, 1 Dec 2004 18:18:33 -0500
Reply-To: Pat Moore <jnpam@UAS.ALASKA.EDU>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Pat Moore <jnpam@UAS.ALASKA.EDU>
Subject: HTML Option and ODS HTML
Content-Type: text/plain; charset=ISO-8859-1
SAS Gurus,
A Windows question. It’s possible now to go to Tools/Options/Preferences,
select the Results tab,uncheck the “Create listing” box, and check the
“Create HTML” and “Use WORK folder” boxes to send listing output to HTML
files created in the Work directory. However, I don’t know how to smoothly
do the following when I’ve checked this option:
ODS listing close;
ODS HTML
file=’c:\out.htm”
style =sasdocprinter;
---a proc tabulate, say---
ODS HTML close;
ODS listing;
When I complete this step, subsequent Results are created in listing format,
not the HTML format that I had selected. If I don’t close Listing before
invoking the HTML file command, SAS tries to create a file like
‘e:\sastemp\_SI2004 c:\out.htm’ which bollixes everything up.
So the question is, how does one have HTML output for Results and
periodically invoke an ODS HTML command to send html output to a named file?
Pat Moore
mailto:pat.moore@uas.alaska.edu
|