SUPPORT / SAMPLES & SAS NOTES
 

Support

Sample 37050: Creating a custom HTML input form for a SAS® Stored Process

DetailsCodeAboutRate It

This example SAS® Stored Process creates a custom HTML input form that is used to execute another SAS Stored Process. This provides an alternative to the approach of creating a custom JSP file that is stored on your Web server for the custom HTML input form.

Follow these instructions to create your custom HTML form:

  • Insert your HMTL code after the cards4 statement in place of the existing HTML code.
  • Modify the %let stpname statement to specify the name of the SAS Stored Process that is to be executed in the HTML form that is created.
  • The DATA step reads the input lines and resolves any macro variables that are specified (such as &stpname and &_URL).

See SAS Note 19475, "Creating dynamic parameter values for a SAS Stored Process," for more information about an HTML input form.




These sample files and code examples are provided by SAS Institute Inc. "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and fitness for a particular purpose. Recipients acknowledge and agree that SAS Institute shall not be liable for any damages whatsoever arising out of their use of this material. In addition, SAS Institute will provide no support for the materials contained herein.