Previous Page | Next Page

SAS Component Language (SCL) Functions and Options

RLINK SCL Function



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

Syntax
Syntax Description
Example

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

Previous Page | Next Page | Top of Page