Contents Implementation & Administration Guide 1.1 Previous Next

Adding Stored Processes to the Portal

SAS stored processes give users of the SAS Information Delivery Portal the ability to run SAS reports dynamically using current data residing on enterprise databases.

A stored process is a SAS program that resides on a server and is available to be executed on a request basis. The benefits of stored processes include centralized code management, increased security, and ad hoc reporting capabilities. For more information, see the Stored Processes topic on the SAS Integration Technologies Web site.

When a user runs a stored process from the portal, the Portal Report Runner displays the associated input form, allowing the user to filter the report contents. The user can have the report runner display the report results immediately, or the results can be stored for later viewing by the requesting user.

To set up a stored process in the portal, you must:

  1. Develop and test the SAS code.

  2. Place the code and data on a SAS server that is accessible to the portal users who will access it.

  3. Update the portal application's enterprise directory with metadata about the stored process and its application parameters.

  4. Use the Personalize tool to make the report appear as a selection on the portal.

Step 1: Develop and Test the SAS Code

First, determine what type of report you would like to make available through the stored process. Then, either locate an existing SAS program that produces the report or develop the program from scratch. Test the program on a standalone basis to be sure that it operates without errors and that it produces the desired output.

You must then add the following elements to the SAS program so that it will function as a stored process. Refer to the example stored process for an annotated illustration of these requirements. The links below point to specific portions of the example.

Step 2: Place the Stored Process on a SAS Server

Place the stored process on a server that the portal application can access. The server must be defined on the portal application's enterprise directory.

Step 3: Update the Enterprise Directory with Metadata about the Stored Process

Use the SAS Integration Technologies (IT) Administrator interface to update your enterprise directory with metadata about the stored process and its execution parameters. For detailed instructions on the use of this interface, refer to the IT Administrator section of the SAS Integration Technologies Web site.

Perform the following tasks using IT Administrator. Refer to the example stored process definition for an annotated illustration of these tasks. The links below point to specific portions of the example.

Step 4: Use the Personalize Tool to Make the Report Appear as a Selection on the Portal

Depending on who has access permission to the stored process, you can use one of several methods to make a stored process appear as a report selection on the portal:


Contents Implementation & Administration Guide 1.1 Previous Next