Date: Thu, 29 Mar 2001 15:03:52 -0500
Reply-To: don.henderson@US.PWCGLOBAL.COM
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: don.henderson@US.PWCGLOBAL.COM
Subject: Re: Image output to IE5
Content-type: text/plain; charset=us-ascii
I checked with one on my birdies back at SAS because I recalled that
IntrNet provided a facility to do this. You need to use the filesrv
facility. You can either use the filesrv macro directly, or you can invoke
it directly from a url. To use the macro, your program merely needs to
invoke:
%filesrv(file=name-of-file-being-served, filetyp=C | E)
where C is for a catalog entry, and E is for a external file. So you would need to:
%filesrv(file=your-file-name,filetyp=E)
Check the doc at:
http://www.sas.com/rnd/web/intrnet/filesrv/filesrv.html
Note that you must set up an "authorization data set" that specifies (using
pattern matching) what kinds of files can be served. This is necessary to
prevent someone from using a hack to serve up any file on your system.
Without this facility, somebody could get access to any file the
Application Server has access to, as long as they know the name. There is a
link on the page above that describes how to set this up. Make sure your
pattern is such that you allow only the files you want access.
There are some other nifty macros/utilities described at:
http://www.sas.com/rnd/web/intrnet/misc/apputil.html
HTH,
-don henderson
Charles Brokmann <cab@AIMSCO.COM>@LISTSERV.UGA.EDU> on 03/29/2001 02:07:51
PM
Please respond to Charles Brokmann <cab@AIMSCO.COM>
Sent by: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
To: SAS-L@LISTSERV.UGA.EDU
cc:
Subject: Image output to IE5
Win2000, SASv8 InternetExplorer5
I would like to have my sas code output an existing gif (not created by
SAS, just a gif) that is stored in a Windows directory directly to the
IE5 browser.
Don't want to display anything else, just the image.
Thanks,
Charles
----------------------------------------------------------------
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from any
computer.