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/390 local host SAS session to connect to a remote host with the TCP/IP access method:
filename rlink 'sas.ctmisc.tcpvms'; options comamid=tcp remote=rmthost; signon user=_prompt_;
The first line identifies the script file that you use to sign on to
the OpenVMS 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 RMTHOST. 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.
You may set the following variables to restrict port access in the SAS CLIST:
portfirst(5020) portlast(5050)
These statements restrict access to ports 5020 through 5050.
SAS/SHARE |
The following example illustrates the statements that you specify in an OS/390 client SAS session to access a server with the TCP/IP access method:
options comamid=tcp; libname sasdata 'edc.prog2.sasdata' server=rmtnode.share1 user=_prompt_;
The first line declares the TCP/IP access method. The LIBNAME statement
specifies the data library that is accessed through the two-level server name
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.
The following example illustrates the statements that you specify in the server's configuration file on the OS/390 host:
tcpsec=_secure_
The _SECURE_ value for the TCPSEC macro variable requires clients to supply a userid 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/390 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 OS/390 host.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.