Previous Page | Next Page

OpenVMS: TCP/IP Access Method

SAS/SHARE Server Tasks


Task List

  1. Configure the SAS/SHARE server service.

  2. Specify SAS options and network security (optional).

    • If the server is to run secured, set the TCPSEC= option to require client authentication.

    • Specify encryption options to encrypt client/server data transfers.

  3. Specify TCP/IP as the communications access method.

  4. Specify the server.


Configuring the Server Service

Each server must be defined as a service in the SERVICES file on each node that each client will access. The SERVICES file is located in the directory where the TCP/IP software is installed. Find out the correct location of the TCP/IP software in your operating environment. For details about editing the SERVICES file, see Configuring the SERVICES File.

Example:

sassrv2   5011/tcp  # SAS/SHARE server 2


Setting the TCPSEC Option to Require Client Authentication

To authenticate clients that attempt to access the server, you must specify the value _SECURE_ in the TCPSEC= option to require that clients provide a user ID and a password that are valid on the server. For details about the TCPSEC= option, see SAS/SHARE Options Only.

Example:

TCPSEC:==_SECURE_


Encrypting Data in Server/Client Transfers

If an encryption service is configured at the server, you can specify SAS options to encrypt data that a server transfers to a client. For example:

options netencrypt netencryptalgorithm=sasproprietary;

The NETENCRYPT option specifies that all data transfers between a server and a client will be encrypted. SASPROPRIETARY is the encryption algorithm. For details about encryption services, see Encryption in SAS.


Specifying TCP/IP as the Communications Access Method

You must specify the TCP/IP communications access method at the server before a client can access it.

Example:

/comamid=tcp

The COMAMID= option specifies the communications access method. TCP specifies the TCP/IP access method.

You can specify the COMAMID option in an OPTIONS statement, in a configuration file, or in a SAS start-up command.


Specifying the Server

You must specify the name of the server in the SERVER= option in the PROC SERVER statement. Here is the syntax:

SERVER=server-ID

server-ID can be either a server-ID or a port number. The value for server-ID corresponds to the service that was configured in the SERVICES file. For details, see Configuring the SERVICES File. port is the unique number that is associated with the service that is used for transferring data between a client and a server.

Precede the port number with two consecutive underscores.

Note:   Do not space after the first underscore or the second underscore.  [cautionend]

Note:   Specifying a server by using a port number is not supported for ODBC clients.   [cautionend]

Examples:

proc server server=apex;
proc server server=_ _5000;

For details about creating valid SAS names, see SAS Language Reference: Concepts. For details about PROC SERVER, see the SERVER procedure in the SAS/SHARE User's Guide.


SAS/SHARE Server Example

The following example shows the statements that you specify at an OpenVMS computer to start a server. The value _SECURE_ that is specified in the TCPSEC option requires clients to provide a user ID and a password that are valid on the server. The NETENCRYPT option specifies that encryption is required, and the NETENCRYPTALGORITHM option specifies that the encryption algorithm is SASPROPRIETARY. The COMAMID= option specifies the TCP/IP access method. The PROC SERVER statement specifies the server SHARE1.

%let tcpsec=_secure_;
options netencrypt;
options netencryptalgorithm=sasproprietary;
options comamid=tcp;
proc server id=share1;
run;

Previous Page | Next Page | Top of Page