Chapter Contents

Previous

Next
RSESSION

RSESSION



Returns the name, description, and SAS software version of a remote session

Category: Interface to SAS Software
Requires SAS/CONNECT software


Syntax
Details
Example
See Also

Syntax

cval=RSESSION(n);

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


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

RLINK

RSTITLE


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.