Date: Tue, 23 Jul 2002 16:05:09 +0200
Reply-To: Bas Pruijn <bas.pruijn@CMG.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Bas Pruijn <bas.pruijn@CMG.COM>
Subject: Re: multiple remote hosts
Content-Type: text/plain; charset="iso-8859-1"
Hi all,
I wanted to build an application (using AF). I found in the online docs the
following:
cval=RSESSION(n);
You can use this function in SCL. What I now did was:
i = 1;
DO WHILE (NOT rsession(i) = '');
x{i} = rsession(i);
i = i + 1;
END;
This gives me a list of all ACTIVE remote sessions. This means you only see
remote sessions you have signed on to!
I do not know if it is possible to do the same thing from a macro. I assume
so, but haven't tried.
Greetings,
Bas
|