Date: Tue, 14 Aug 2001 13:37:57 +0200
Reply-To: Van Dooren Wim <Wim.Van.Dooren@ARTESIASERVICES.BE>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Van Dooren Wim <Wim.Van.Dooren@ARTESIASERVICES.BE>
Subject: Re: Testing for CONNECT session
Content-Type: text/plain; charset="iso-8859-1"
Nigel,
The rlink-function is an SCL function !!!
So if you can't find any solution, you can always use the proc display for
some stupid scl with only your rlink function in it ....
Wim Van Doren
Solid Partners
Belgium
-----Original Message-----
From: Nigel Pain [mailto:Nigel.Pain@SCOTLAND.GSI.GOV.UK]
Sent: 14 aug 2001 12:38
To: SAS-L@LISTSERV.UGA.EDU
Subject: Testing for CONNECT session
****************************************************************************
*
This email and any files transmitted with it are intended solely
for the use of the individual or entity to whom they are addressed.
****************************************************************************
*
I'm really banging my head against the wall with this one.
Running 6.12 WinNT and 6.12 Solaris. I'm trying to write a macro that PROC
UPLOADs data to a server in a CONNECT session and I want to test that the
session has been established successfully first. I've tried using:
%SYSFUNC(RLINK(remote))
but %SYSFUNC doesn't seem to allow use of the RLINK function. So I thought
I'd remote submit a %SYSRPUT statement to set an indicator in the local
session. However, when I do that I get the following:
CODE:
...
RSUBMIT remote;
%SYSRPUT rlink = 1;
ENDRSUBMIT;
...
LOG:
...
NOTE: Remote submit to REMOTE commencing.
ERROR: %SYSRPUT statement is valid only when OPTION DMR is in effect.
NOTE: Remote submit to REMOTE complete.
...
When I take the remote submit section out of the macro and submit it on its
own I get no errors.
What I want to know is: is this the best way to do what I want? if so, why
won't it work? if not, what is the best way?
***************************************************
Nigel Pain
Scottish Executive Development Department
Business Support Unit
Victoria Quay
EDINBURGH
EH6 6QQ
UK
Tel +44 131 244 7237
Fax +44 7092 014235
Mailto:nigel.pain@scotland.gsi.gov.uk
Website: http:\www.scotland.gov.uk