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 a Macintosh local host SAS session to connect to a remote host with the TCP/IP access method.
filename rlink '!sasroot:misc:tcpos2.scr'; options comamid=tcp remote=rmtnode; signon;
The first line identifies the script file that you use to sign on to
a remote host. The script includes a prompt for a userid and a password that
are valid on the remote host. The TCP/IP access method is declared with a
connection to the remote host RMTNODE. The SIGNON statement performs the sign-on
process.
SAS Institute does not provide support for connections to the Macintosh remote host with the TCP/IP access method.
SAS/SHARE |
The following example illustrates the statement that you specify in a Macintosh client CONFIG.SAS612 file to configure the server.
-set gsbn_server1 5015
The following example illustrates the statements that you specify in a Macintosh client SAS session to access a server with the TCP/IP access method:
options comamid=tcp; libname sasdata 'edc.prog2.sasdata' server=rmthost.share1;
The first line declares the TCP/IP access method. The LIBNAME statement
specifies the data library that is accessed through the server that is identified
by the two-level name RMTHOST.SHARE1.
The following example illustrates the statement that you specify in a Macintosh server CONFIG.SAS612 file to configure the server's service.
-set gsbn_server1 5015
The following example illustrates the statements that you specify in a SAS session on the Macintosh 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 Macintosh host.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.