SAS Institute. The Power to Know

Run a SAS stored process

A stored process is a SAS program that is saved on a server and be executed as required by a requesting application. You can use stored processes to pass data from ESRI to SAS and perform SAS processing. For example, you can write to SAS data sets, retrieve SAS data sets, and create SAS ODS output such as reports and graphs. For more information, see the SAS Stored Processes Developer's Guide at http://support.sas.com/documentation/onlinedoc/inttech/index.html.

Note: The default method of using stored processes requires a SAS Metadata Server. If a SAS Metadata Server is not available, then you can create a stored process by using VBA code. For more information, see Run a Stored Process as a VBA Macro.

Before you can run a stored process, you must perform configuration tasks. For more information, see Configuring Stored Processes.

To run a stored process, perform the following steps:

  1. If the SAS toolbar is not visible, then add the SAS toolbar.
  2. (Optional) If your stored process uses ESRI layer data, then select the layer that you want to use from the Table of Contents pane.
  3. On the SAS toolbar, click Stored Processes icon or select SAS Stored Processes. A file browser window appears.
  4. Locate and select the stored process that you want to run, and then click Open.
  5. Specify any input parameters for the stored process in the Parameters window, and then click Run.