| Date: | Tue, 14 Aug 2001 11:38:21 +0100 |
| Reply-To: | Nigel.Pain@SCOTLAND.GSI.GOV.UK |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Nigel Pain <Nigel.Pain@SCOTLAND.GSI.GOV.UK> |
| Subject: | Testing for CONNECT session |
| Content-Type: | text/plain; charset="iso-8859-1" |
|---|
*****************************************************************************
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
|