© Philip Mason 2020
P. MasonSAS Stored Processeshttps://doi.org/10.1007/978-1-4842-5925-2_7

7. Stored Processes

Philip Mason1 
(1)
Wallingford, UK
 

In this chapter, we will focus on SAS Stored Processes and look at the details around them so we can get a good understanding of how to create them along with all the details around that. Let’s start by looking at how we move from a SAS program that every SAS programmer understands to a Stored Process.

Converting a SAS Program into a Stored Process

It is very easy to take a normal SAS program and make it into a Stored Process. Here is a normal SAS program which extracts some data, summarizes it, and prints it:
* take a random sample ;
data sample ;
   set sashelp.class ;
if ranuni(1)<0.5 ;
run ;
* work out average ...

Get SAS Stored Processes: A Practical Guide to Developing Web Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.