| Date: | Mon, 11 Oct 2004 07:41:13 +1000 |
| Reply-To: | Scott <usenet739_yahoo_com_au@CRONKITE.CC.UGA.EDU> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Scott <usenet739_yahoo_com_au@CRONKITE.CC.UGA.EDU> |
| Subject: | Determining if SAS/Connect has an active connection |
|---|
Hi,
For a macro I'm writing, I need to know if SAS/Connect has an active
connection with a remote machine.
The best I can come up with is:
rsubmit macvar=status;
endrsubmit; /* empty rsubmit block */
%if (status ^= 0) %then ...;
but I don't like the NOTE: (if connection is active) or ERROR: (if
connection is not active) msgs in the log.
Is there a better way to code this? I note that the RLINK SCL function is
not callable from %sysfunc.
Regards,
Scott
|