Chapter Contents


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

UNIX: TCP/IP and TELNET Access Methods

Version 6 Only Beginning with Version 7, the TELNET access method is not supported. However, information about TELNET is included here for Version 6 users.  [cautionend]


For TELNET, the WAITFOR statement in the script looks for all possibilities. If no condition is met, the number of seconds that are specified to wait should be less than the amount of time that is allowed by the connection itself before it drops because there is no activity. If the WAITFOR statement is not set properly, the following message appears during an asynchronous SIGNON:

ERROR:  Read Error

For TELNET, if the SIGNON statement appears to hang during a SIGNON, change the EOPCHAR in the SIGNON script to LF. The default EOPCHAR is CR. CR is not recognized by some remote systems.

For TCP/IP, SAS/CONNECT may be unable to connect to the TCP/IP port. The following system message appears:

connection refused

The connection may fail at SIGNON for the following reasons:


The TCP/IP access method that is used by SAS/SHARE sometimes issues generalized messages to identify problems. Some of the most frequently encountered messages are described in this section.

No TCP service <server-id> on this host

The service that is specified in the SERVERID= option is not one of the services that is defined in the TCP services file.

Cannot bind TCP socket.  System message is 'address already
in use'

Another server that has the same name is already running on this node, or another TCP/IP application is using the predefined port numbers that the TCP/IP access method is trying to use. If another server of the same name is running, choose one of the other predefined server names. If there is no other server running that has the same name, there may be a conflict with another software package. Please contact your SAS Site Representative.

Cannot connect to TCP socket.  System message is 'connection refused'

The server that is specified by the SERVER= option cannot be located on the specified node.

Cannot locate TCP host 'node'

The node that is specified in a two-level node name is not known to the TCP/IP software.

Chapter Contents



Top of Page

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