BookmarkSubscribeRSS Feed
jplarios
Quartz | Level 8
Hi:
I created various HTML files and put them in some location on the server( a UNIX) using SAS9.1.3. One file is called Main2010. I would like the user to input a year parameter such as
2010.

Is there a way to have this HTML file ( which was created with SAS GRAPH and has the GIF file) to display owhen the stp is ran using something like a "put HTML file"

The reason I am thinking about this is because I rather have this HTML graph done prior to users running it.
jp
1 REPLY 1
Vince_SAS
Rhodochrosite | Level 12
One solution is to use the Location header to perform a redirect. There is some information here:

http://support.sas.com/documentation/cdl/en/stpug/61271/HTML/default/httphead.htm#location

The spec is in section 14.30:

http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html

Another solution is to use FILESRV:

http://support.sas.com/rnd/web/intrnet/filesrv/filesrv.html

Vince DelGobbo
SAS R&D
How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1187 views
  • 0 likes
  • 2 in conversation