Chapter Contents

Previous

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

CMS: APPC Access Method


SAS/CONNECT

Local Host

The following example illustrates the statements that you specify in a CMS local host SAS session to connect to a remote host with the APPC access method:

options comamid=appc remote=remotelu;
signon user=_prompt_ ;

The APPC communications access method is declared with a connection to a remote host that is identified by the LU name REMOTELU. The USER= option in the SIGNON statement causes the connecting local host to 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 statements that you specify in a CMS remote host's configuration file to prepare for a connection from a local host with the APPC access method:

dmr
comamid=appc
remote=remotelu
no$syntaxcheck
noterminal

The APPC communications access method is declared with a connection to a remote host that is identified by the LU name that is configured to the name of the AVS private gateway. In this example, REMOTELU identifies the AVS private gateway.


SAS/SHARE

Client

The following example illustrates the statements that you specify in a CMS client SAS session to connect to a server with the APPC access method:

options comamid=appc;
libname sasdata 'prog2 a' server=share1 user=_prompt_ ;

The APPC access method connects a SAS client to a SAS server. The LIBNAME statement specifies the data library that is accessed through the server-id SHARE1. The USER= and PASSWORD= options in the LIBNAME statement specify 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 CMS host at which you start a server:

options appcsec=_secure_ comamid=appc;
proc server id=share1;
run;

The value _SECURE_ for the APPCSEC option requires clients to supply a userid and a password that are valid on the server. The APPC access method is declared, and the server SHARE1 is started on the CMS host.


Chapter Contents

Previous

Next

Top of Page

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