Previous Page | Next Page

System Options for SAS Application Server Components

OBJECTSERVER System Option



Specifies whether SAS is to run as an Integrated Object Model (IOM) server.
Valid in: configuration file, SAS invocation
Category: Environment control: Initialization and operation
Default: NOOBJECTSERVER
PROC OPTIONS GROUP= EXECMODES
Applies to these servers: workspace, stored process, OLAP, metadata
See: OBJECTSERVERPARMS System Option

Syntax
Syntax Description
Details
Example
See Also

Syntax

-objectserver

Syntax Description

-objectserver

when specified, SAS runs as an IOM server.


Details

An IOM server is a noninteractive SAS session that is run with the OBJECTSERVER system option. The spawner sets OBJECTSERVER for the SAS IOM servers that it invokes. In order to make it easy to specify the command, the server can be started by using a simple command with an option to connect back to the metadata server to obtain additional IOM-specific options.

You can specify the server startup command in several locations:

The general form of the server startup command is:

SAS-exec -objectserver other-system-options -objectserverparms "object-server-parameters"

Note:   For SAS Workspace Servers that run on UNIX, it is sometimes necessary to call the SAS start-up command by using a wrapper script. For more information, see Managing Workspace Servers and Stored Process Servers.  [cautionend]

The server startup command is obtained as follows: Regardless of how the server is started, workspace servers, stored process servers, and OLAP servers, by default, also connect back to the metadata server in order to obtain configuration information, such as pre-assigned libraries, that is associated with the SAS Application Server.

The following table summarizes the ways that the SAS command, system options, and object server parameters can be specified for each type of IOM server.

Server Spawner launched? Use of SERVER parameter

Obtainable from metadata?



Command Object server parameters Librefs
Workspace server Required Spawner supplied Yes

(Spawner retrieves)

Yes

(Spawner retrieves)

Yes
Stored process server Required

(Load-balanced)

Spawner supplied Yes

(Spawner retrieves)

Yes

(Spawner retrieves)

Yes
OLAP server Not allowed Required No Yes1 Yes

(If SERVER is used)

Metadata server Not allowed Not allowed No No No
1 Object server parameters that are stored in metadata supplement the command-line object server parameters if the SERVER parameter is used.

Note:   When you start the server with a script, some object server parameters, such as DNSMATCH, cannot be obtained from the metadata. Do not enter these object server parameters in your metadata. For details, see OBJECTSERVERPARMS System Option.  [cautionend]


Example

This example shows how OBJECTSERVER can be used in a configuration file used to start the metadata server:

-objectserver 
-objectserverparms "cel=credentials protocol=bridge port=8561 classfactory=
0217E202-B560-11DB-AD91-001083FF6836 trustsaspeer=C:\SAS\
FoundationServers\Lev1\SASMain\MetadataServer\trustedPeers.xml"

Note:   In configuration files on z/OS, do not precede system options with a hyphen. Also, an equal sign must precede the first parameter that follows the OBJECTSERVERPARMS keyword. For example:

objectserver  objectserverparms="cel=credentials protocol=bridge port=8561"

  [cautionend]


See Also

System Options:

OBJECTSERVERPARMS System Option

Previous Page | Next Page | Top of Page