You must choose a server
(for stored processes that are compatible with 9.2) or application
server context to host your stored process. Servers are defined in
metadata and are actually logical server definitions that can represent
one or more physical server processes. There are many options, including
pre-started servers, servers that are started on demand, and servers
that are distributed across multiple hardware systems. You can use
the Server Manager in SAS Management Console to create or modify server
definitions. For more information about server configurations, see
the
SAS Intelligence Platform: Application Server Administration Guide.
Because the logical
server description in metadata hides the server implementation details,
a stored process can be moved to or associated with any appropriate
server without modifying the stored process. Moving a stored process
from one server to another requires changing only the metadata association
and moving the source code, if necessary. A stored process is the
combination of a SAS program, the server that hosts that program,
and the metadata that describes and associates the two. For stored
processes that are compatible with 9.2, it is not possible to create
a stored process that is associated with more than one server, although
it is possible to create stored processes that share the same SAS
program or source file. Starting with 9.3, stored processes can be
run from multiple application servers.
Stored processes can
be hosted by two types of servers: SAS Stored Process Servers and
SAS Workspace Servers. The two servers are similar, but they have
slightly different capabilities and they are targeted at different
use cases.
Starting with 9.3, stored
processes are associated with an application server context instead
of a specific logical server. The application server context defines
the environment in which the stored process executes. Application
server contexts typically contain multiple server definitions. Stored
processes can be executed on several server types. The server
type is selected at run-time based on client preferences and constraints
defined in the stored process metadata. You can choose whether to
restrict the stored process to run on a stored process server only
or on a workspace server only, or you can choose to allow the client
application to run the stored process on the default server type.
In this case, the stored process server is used unless the client
application specifies to use the workspace server.