| SAS Component Language Dictionary |
| Category: | Interface to SAS Software |
| Requires SAS/CONNECT software |
| Syntax | |
| Details | |
| Example | |
| See Also |
Syntax |
| cval=RSESSION(n); |
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.
| Details |
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.
| Example |
Retrieve the name and description of remote session number 1:
value=rsession(1);
| See Also |
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.