Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How To view/open an ODS HTML file

Status
Not open for further replies.

macroCharlie

Programmer
Jul 31, 2006
17
US
I am trying to run a SAS program from a Windows command prompt that produces ODS HTML output. If I open SAS from the menu and run the program it displays the output in my web browser after the program runs. But if I run it from Windows command prompt it creates the ODS HTML file but does not open it. I thought this might be because I had my preferences for Results in SAS to show in HTML and as soon as they are produced, but I turned it off and the results still show whn I open SAS manually but not when I run the program from a command prompt. Does anyone know how to get SAS to open the file at the end of the program?
 
That is an option of the SAS front end, so it's not going to happen in batch.
However, if you're running from command prompt, write a short dos script and get that to open the output for you... something like
Code:
sas myprog.sas
output.html
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top