Date: Thu, 27 Sep 2001 07:38:40 -0700
Reply-To: Steve <guitarzealot@YAHOO.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Steve <guitarzealot@YAHOO.COM>
Organization: http://groups.google.com/
Subject: ODS HTML - Why is this happening?
Content-Type: text/plain; charset=ISO-8859-1
Hello all, when I run this code all the files are written to
D:\SAShtml but then when I try to open the frame to display
the body and contents I get a message. Files can't be found.
When I look in frame.html with notepad the SRC= is
SRC="D:\SAShtml\contents.html".
The message says it's looking in D|:\SAShtml\D:\SAShtml\contents.html
for the file. Not looking at just D:\SAShtml\contents.
Do I have to change the SRC each time I create this file??
I run this
ODS HTML BODY='D:\SAShtml\BODY.HTML'
CONTENTS='D:\SAShtml\CONTENTS.HTML'
FRAME='D:\SAShtml\FRAME.HTML';
TITLE 'THE PRINT TITLE';
PROC PRINT DATA=REPT;
RUN;
ODS HTML CLOSE;
This code is in frame.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<!-- Generated by SAS Software -->
<!-- Http://www.sas.com -->
<HEAD>
<META http-equiv="Content-type" content="text/html;
charset=windows-1252">
<TITLE>SAS Output Frame</TITLE>
</HEAD>
<FRAMESET FRAMEBORDER=yes FRAMESPACING=1 COLS="23%,*">
<FRAME MARGINWIDTH="4" MARGINHEIGHT="0" SRC="D:\SAShtml\CONTENTS.HTML"
NAME="contents" SCROLLING=auto>
<FRAME MARGINWIDTH="9" MARGINHEIGHT="0" SRC="D:\SAShtml\BODY.HTML"
NAME="body" SCROLLING=auto>
</FRAMESET>
</HTML>
Thanks
Steve