SAS/IntrNet 8.2: Application Dispatcher |
The Application Dispatcher includes some sample applications to help you understand how to create your own applications. You can also use these applications to ensure that you installed and configured the Application Dispatcher correctly. The input component for each sample application is installed along with the Broker in a default location of http://yourserver/sasweb/IntrNet8/dispatch/. The program component is installed along with the Application Server in the sample and samplib program libraries. In addition to these packaged samples, the SAS Web site provides some live demos that utilize the Application Dispatcher.
Each sample application contains a complete set of source code. The following table lists the samples provided:
Title | Files | Description |
---|---|---|
ODS Output Formats | websamp catalog, webods4.html |
This sample shows different output formats supported by the Output Delivery System (ODS). |
Building a Basic Web Report | websamp catalog, webreport.html |
This sample demonstrates the process of using ODS to build a basic Web report. At each step you can run the sample report and view the program that generated it. |
Building an Interactive Map | webmap.sas, webmap.html |
This sample uses ODS to display demographic information on a map of Europe. The map includes text pop-ups and drilldown links to detail data. |
3-D Bar Chart with Drill-Down Capability | webods1.sas, webods1.html | This sample illustrates how to use ODS to integrate text and graphics into a single page, and also shows how you can add drill-down capability to the graphic. |
Report with Embedded Graphic Images | webods2.sas, webods2.html | This sample illustrates how to use ODS to further integrate graphics and text into a single HTML page. |
Table of Contents and 3-D Graphics | webods3.sas, webods3.html | This sample illustrates how ODS can be used to generate a Table of Contents and multiple 3-D pie charts for your SAS software output. |
Hello World | webhello.sas, webhello.html |
This sample displays "Hello World" in the user's browser. It is a simple program and makes a good installation test. |
Display a Data Set | webdata1.sas, webdata1.html | This sample uses the HTML Data Set Formatter to format a SAS data set as an HTML table. |
Display a Data Set with WHERE Clause and Sum Variables | webdata2.sas, webdata2.html | This sample uses the HTML Data Set Formatter to format a SAS data set as an HTML table and provide subsetting and sum features. |
Frequency Procedure | webfreq.sas, webfreq.html | This sample uses the HTML Output Formatter to format SAS Frequency procedure output. |
Tabulate Procedure | webtab.html, webtab.sas | This sample illustrates the unique data analysis capabilities of the Application Dispatcher. The HTML form provides options that perform different tabulations of the same set of data. |
Print of Data Set | webohtm.sas, webohtm.html | This sample uses the HTML Output Formatter to print the values in a SAS data set. |
DS2GRAF/Graph Applet | webds2g1.sas, webds2g1.html | This sample program uses the DS2GRAF macro to generate HTML to invoke the Graph Applet. You can select the variables and graph type for the generated graph. It requires the SAS/GRAPH product. |
DS2CSF/Rangeview Applet | webcsf1.sas, webcsf1.html | This sample program uses the DS2CSF macro to generate HTML to invoke the Rangeview Applet. You can choose a CSF type and select color settings for the generated graph. It requires the SAS/GRAPH product. |
Pie Chart | webgraph.sas, webgraph.html | This sample uses SAS/GRAPH to create a static pie chart from the data in a SAS data set. |
Animated GIF | webanim.sas, webanim.html | This sample uses SAS/GRAPH to produce an animated GIF bar chart. |
Comment Box Application | webcom1.sas, webcomm.html | This program adds a new comment to the dataset TMPLIB.COMMENTS and shows two ways of displaying comments that have been collected. This sample demonstrates various ways to pass long text strings to the Application Dispatcher, and ways to interact with that data from within SAS. |
Xplore | websamp catalog, webxplor.html, webxptxt.html, webxplib.html | This sample uses HTML frames, so it requires three HTML files as input. Point your browser at webxplor.html to start this application. This sample application provides an explorer interface to SAS libraries and their contents. Use it to browse data sets, catalogs, catalog entries, perform drill-down on PROC SUMMARY data sets, and even download data sets as comma-separated value files directly into your spread sheet program. |
FILESRV File Server Application | sashelp.webprog catalog, websamp catalog, webfsrv1.html | This sample uses FILESRV to serve any type of file available to the Dispatcher SAS session. |
DS2CSV CSV File Generator | webcsv1.sas, webcsv1.html | This sample program uses the DS2CSV macro to convert any SAS data set to a comma separated variable file to be downloaded to the browser. |
Display Macro Variables | webvars.sas, webvtab.sas, webvars.html | This sample creates a list of the macro variables generated by name/value pair data using the SQL procedure. This sample uses one of two programs based on the user's selection. The output from one program is the SQL procedure output marked up by the HTML Output Formatter. The output from the other program is an HTML table produced by the HTML Data Set Formatter. |
The source code for each of the samples should assist you in learning more about the Application Dispatcher and in designing your own applications.
SAS/IntrNet 8.2: Application Dispatcher |