Chapter Contents

Previous

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

Windows: APPC Access Method


SAS/CONNECT

Local Host

The following example illustrates the statements that you specify in a Windows local host configuration file to connect to a remote host with the APPC access method:

-set appc_luname locallu 
-set appc_lu62mode appcmode

LOCALLU is the local-LU-alias that is defined at the Windows NT SNA Server. APPCMODE is the mode-name that is defined at the Windows NT SNA server.

The following example shows the statements that you specify in a local SAS session:

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

The APPC communications access method is declared with a connection to the remote host that is identified as REMOTELU. In this example, REMOTELU identifies a local LU that is defined at the Microsoft SNA Server. The SIGNON statement performs the sign-on process. The USER= option in the SIGNON statement specifies that a local host be prompted for a username and a password that are valid on the remote host.

Remote Host

The following example illustrates the statements that you specify in a Windows NT, Windows 95, or Windows 98 remote host's configuration file to prepare for a connection from a supported local host with the APPC access method:

-dmr
-comamid appc
-remote remotelu
-icon
-sasdmr msgqueue
-no$syntaxcheck
-noterminal
-noxwait

The APPC communications access method is declared with a connection to a local-LU-alias REMOTELU.

Note:   The value of the REMOTE= option that is specified in both the local and the remote sessions must be identical.  [cautionend]


SAS/SHARE

Client

The following example illustrates the statements that you specify in a Windows NT client configuration file to access a server with the APPC access method:

-set appc_luname locallu 
-set appc_lu62mode appcmode

LOCALLU is the name of a local-LU-alias and APPCMODE is the mode name that are defined at the Windows NT SNA server.

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

options comamid=appc;
libname sasdata 'c:edc.prog2.sasdata'server=share1 user=_prompt_;

The APPC access method is declared. The LIBNAME statement specifies the data library that is accessed through the server SHARE1. To access a server that is running on the Windows NT platform, specify remote-LU-alias for the server name. The USER= option in the LIBNAME statement specifies that a client be prompted for a username 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 Windows NT host at which you start a server:

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

The value _SECURE_ for the APPCSEC macro variable requires that clients specify a userid and a password that are valid on the server. The APPC access method is declared and the server SHARE1, which is the local-LU , is started on the Windows NT host.


Chapter Contents

Previous

Next

Top of Page

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