RLINK SCL Function

Verifies whether a connection was established between a SAS/CONNECT client and a server session.
Client: optional
Server: optional

Syntax

rc=RLINK('server-ID');

Syntax Description

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.

Example

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.';