Date: Thu, 10 Apr 2003 14:30:24 +0200
Reply-To: fernd alois <ferndalois@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: fernd alois <ferndalois@HOTMAIL.COM>
Subject: copy gif file to fileref with fread fwrite ?
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Hello Sas -L
I use SAS IT in a small web application.
In the code a sasworkspace is created and a stored procedure runs on the
server. The stored procedure recieves a (temporary) fileref as parameter .
I use this fileref to write the ods html code like
parameters ...
%let bodyfile = filref;
%Processbody;
ods html body=&bodyfile ;
proc tabulate ...
Then I use the fileref in the asp code to read and write with
response.write.
This works fine.
Whith graphic procedure (gchart) when I use code than creates a gif file
ods html device=gif ...
I got problems ;I suppose the reason is that the procedure needs to
write to a file with extension .gif and the fileref that is passed has tha
name #00006 etc
I could write the gif file locally in the stored procedure and then copy to
"name.gif" to the fileref .
Is this possible with fread and fwrite and how ???.
TIA
Fernd Alois
_________________________________________________________________
MSN Zoeken, voor duidelijke zoekresultaten! http://search.msn.be