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

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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