LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (October 2004, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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


Back to: Top of message | Previous page | Main SAS-L page