If the client and server sessions are running on different network nodes, you must
include the TCP/IP node in the server ID in the LIBNAME or in the PROC OPERATE statement
by using a
two-level server name as follows:
SERVER=node.server
node must
be specified by using either a server-ID or
a port number.
If the server and the client sessions are running on the same node, you can omit
the node name.
server can
be either a server-ID or a port.
The value for port is the unique number that is associated with the service that is used for passing
data to and receiving data from the server.
Precede the
port number with two consecutive underscores.
Note: Do not space after the first
underscore or the second underscore.
Example:
libname mylib '.' server=srvnode._ _5000;
If the TCP/IP node name is not a valid SAS name, assign the name of the server node
to a SAS macro variable, then use the name of that macro variable for node in
the two-level server name.
The access method evaluates the node name in this order of priority:
Example:
You might assign the node name and the server ID to a macro variable:
%let srvnode=mktserver.acme.com 5000;
libname sales server=srvnode;
or
%let srvnode=mktserve.acme.com;
libname sales server=srvnode.server1;
Note: Do not use an ampersand (&)
in a two-level server name. An ampersand causes a macro variable to
be resolved by the SAS parser before syntactic evaluation of the SERVER=
option.