SAS Component Language (SCL) Functions and Options |
Verifies whether a connection was established between a SAS/CONNECT
client and a server session.
Client: |
Optional
|
Server: |
Optional
|
-
rc
-
is the return code.
-
'server-ID'
-
is the name of the server session (specified
by REMOTE=server-ID) that is being tested.
Details
The RLINK function verifies whether a connection was
established between the SAS/CONNECT client and server sessions.
The following statements use the RLINK function and
the server ID REMSESS.
rc=rlink('REMSESS');
if (rc=0) then
_msg_='No link exists.';
else
_msg_='A link exists.';
Copyright © 2008 by SAS Institute Inc., Cary, NC, USA. All rights reserved.