Chapter Contents

Previous

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

OpenVMS: DECnet Access Method


SAS/CONNECT

Local Host

The following example illustrates the statements that you specify in a SAS$CONN.COM command file on an OpenVMS local host to set the current working directory and to start a local SAS session.

set def disk:[bass.work]
sas/dmr/comamid=decnet

The following example illustrates the statements that you specify in a SAS session to access a remote host with the DECnet access method.

$ rmthost:="rhost""::"
$ sas/comamid=decnet/remote=rmthost
1? signon user=_prompt_;

The DCL symbol format assigns the alias RMTHOST to the remote host name RHOST. The statements in the second line invoke a SAS session, specify the DECnet access method, and specify a remote host with the DCL symbol format that is identified by RHOST. 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.The SIGNON statement performs the sign on process.

Remote Host

The following example illustrates the SAS$CONN.COM file entries for an OpenVMS remote host:

sas/comamid=decnet/no$syntaxcheck/noterminal

SAS is invoked with the DECnet access method and two system options.


SAS/SHARE

Client

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

options comamid=decnet;
libname sasdata 'edc.prog2.sasdata'server=rmthost.share1 user=_prompt_;

The LIBNAME statement specifies the data library that is accessed through the server that is represented by the two-level server name RMTHOST.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 a SAS session on the OpenVMS host at which you start a server:

%let sassecur=_secure_;
options comamid=decnet;
proc server id=share1;
run;

The SASSECUR variable requires clients to submit a userid and a password that are valid on the server. The DECnet access method is declared. A server with the server-id 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.