Chapter Contents |
Previous |
Next |
RLINK |
Category: | Interface to SAS Software |
Requires SAS/CONNECT software |
Syntax | |
Details | |
Example | |
See Also |
Syntax |
rc=RLINK(remote-session-id); |
1 | The link exists. |
0 | The link does not exist. |
Type: Numeric
Type: Character
Details |
See SAS/CONNECT User's Guide for details about accessing remote hosts from SAS software.
To get the name of the last remote host that was linked to during the current SAS session, use OPTGETC, specifying 'REMOTE' as option-name.
Example |
Check to see whether the link is active:
REMSESS=optgetc('remote'); msg=sysmsg(); put msg REMSESS; rc=rlink(REMSESS); if (rc=0) then msg='No link exists.'; else msg='A link exists.'; put msg;
See Also |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.