Chapter Contents |
Previous |
Next |
Communications Access Methods for SAS/CONNECT and SAS/SHARE Software |
SAS/CONNECT |
The following example illustrates the statements that you specify in an OS/2 local host SAS session to connect to a remote host with the TCP/IP access method:
filename rlink '!sasroot\connect\saslink\tcptso.scr'; options comamid=tcp remote=rmtnode; signon;
The first line identifies the script file that you use to sign on to
an OS/390 remote host. The script file contains 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 the remote host RMTNODE. The USER=
option in the SIGNON statement specifies that a connecting local host be
prompted for a username and a password that are valid on the remote host.
The SIGNON statement performs the sign-on process.
You may set the following options to restrict port access in the remote host configuration file:
-tcpportfirst 5020 -tcpportlast 5050
These statements restrict access to ports 5020 through 5050.
SAS/SHARE |
The following example illustrates the statements that you specify in an OS/2 client SAS session to access a server with the TCP/IP access method:
options comamid=tcp; libname sasdata 'c: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 host that is specified by the
two-level name RMTNODE.SHARE1. 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.
The following example illustrates the statements that you specify in a SAS session on the OS/2 host at which you start a server:
options comamid=tcp; proc server id=share1; run;
The TCP/IP access method is declared for a secure server that is established by setting the TCPSEC option to _SECURE_. The server SHARE1 is started on the OS/2 host.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.