SUPPORT / SAMPLES & SAS NOTES
 

Support

Sample 43723: Submitting a SAS® Stored Process request in an HTML Frame and displaying the output in another HTML Frame

DetailsCodeAboutRate It

This sample SAS Stored Process illustrates an approach to submit a request in one HTML frame and display the output in another HTML frame. The sample code on the Full Code tab produces output that is similar to the following:

image label

Here is a summary of the functionality.

  1. When you execute the Frame_Example.sas SAS Stored Process code, it creates an HTML page that contains two HTML frames.
  2. The first HTML frame automatically submits a second SAS Stored Process request that creates the selection list (in the left frame above) that is used to submit a request.
  3. When you submit a request, a SAS Stored Process is executed and the output is displayed in the second frame (the right frame above).

Notes:

  • This SAS Stored Process must be executed using the SAS Stored Process Web Application or the SAS® Information Delivery Portal.
  • When you define the SAS Stored Process, it must produce Stream output (and not Package output).
  • If you execute this stored process using the SAS Information Delivery Portal, then you must use a URL Display Portlet.
  • You should be able to run this SAS Stored Process code without making any modifications.
  • Another approach that can be used to display SAS Stored Process output in an HTML frame is to create an HTML or JSP file and store it on your Application Web Server. The HTML code (that contains the frames) would be similar to the HTML code that is created by this example SAS Stored Process.



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.