Chapter Contents |
Previous |
Next |
CONNECTWAIT= |
Remote |
Syntax | |
Syntax Description |
Syntax |
CONNECTWAIT=YES|NO |
Synchronous processing means that you will wait for the remote processing to complete before regaining control in the local SAS session. This is the default processing technique for RSUBMIT if the CONNECTWAIT option is not specified. In the asynchronous case, after the RSUBMIT statement begins to execute in the background of the remote host, you will regain control of your local SAS session to continue local processing or to continue to RSUBMIT to other remote sessions.
If CONNECTWAIT=NO is specified, it will also be useful to specify the CMACVAR= option in the RSUBMIT statement. This will allow you to test the status of the current asynchronous RSUBMIT by determining whether it has completed or is still in progress.
When %SYSRPUT executes within a synchronous (CWAIT=YES) remote submit, the macro variable is defined to the local SAS session as soon as it executes.
When %SYSRPUT executes within an asynchronous (CWAIT=NO) remote submit, the macro variable will not be set in the local session until a synchronization point. See %SYSRPUT Statement for more details about synchronization points.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.