Chapter Contents

Previous

Next
Communications Access Methods for SAS/CONNECT and SAS/SHARE Software

OpenVMS: TCP/IP Access Method


SAS/CONNECT

Local Host

The following example illustrates the statements that you specify in an OpenVMS local host SAS session to connect to a remote host with the TCP/IP access method.

In the OpenVMS local host SAS session, specify the following:

filename rlink '!sasroot:[tools]tcpunix.scr';
options comamid=tcp remote=rmtnode.unxspawn;
signon;

The first line identifies the script file that you use to sign on to the UNIX remote host. The script file includes a prompt for a userid and a password that are valid on the remote host. The TCP/IP communications access method is declared with a connection to a remote UNIX spawner, which is identified by the two-level name RMTNODE.UNXSPAWN. The SIGNON statement performs the sign-on process. The USER= option in the SIGNON statement specifies that a client be prompted for a userid and a password that are valid on the remote host.

Remote Host

You may set the following options to restrict port access in the remote host SAS invocation:

/tcpportfirst=5020;
/tcpportlast=5050;

These statements restrict access to ports 5020 through 5050.


SAS/SHARE

Client

The following example illustrates the statements that you specify in an OpenVMS client SAS session to connect to a server with the TCP/IP access method:

options comamid=tcp;
libname sasdata 'edc.prog2.sasdata' server=rmtnode.share1 user=_prompt_;

The TCP/IP access method is declared. The LIBNAME statement specifies the data library that is accessed through the node.server-id RMTNODE.SHARE1. The USER=option in the LIBNAME statement specifies that a client be prompted for a userid and a password that are valid on the server.

Server

The following example illustrates the statements that you specify in the server's configuration file on the OpenVMS host:

/tcpsec=_secure_
/authencr=required

The _SECURE_ value for the TCPSEC macro variable requires clients to supply a userid and a password that are valid at the server. The AUTHENCR variable enforces encryption of userids and passwords when they are passed from the client to the server.

The following example illustrates the statements that you specify in a SAS session on the OpenVMS host at which you start a server:

options comamid=tcp;
proc server id=share1;
run;

The TCP/IP access method is declared, and the server SHARE1 is started on the OpenVMS host.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.