SAS Component Language Dictionary |
Returns the name, description, and SAS software version of a remote
session
Category: |
Interface to SAS Software
|
Requires SAS/CONNECT software |
|
-
cval
-
contains up to 48 characters of information
identifying a remote session. Characters 1 through 8 contain the session identifier
(the REMOTE= value). Characters 9 through 48 contain the description.
Type: Character
-
n
-
is the number of the remote session to identify.
Type: Numeric
RSESSION returns the session identifier
and the corresponding description for a remote session that has been established
with SAS/CONNECT software. You must have previously defined the description
using RSTITLE.
If no remote link exists, the returned value is blank.
If a link exists but no description has been specified, then characters 9
through 48 in the returned value are blanks.
See
SAS/CONNECT User's Guide
for more information about establishing a link between local and remote hosts.
Retrieve the name and description of remote session
number 1:
value=rsession(1);
RLINK
RSTITLE
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.