Chapter Contents |
Previous |
Next |
SAS/CONNECT User's Guide |
By assigning the fileref RLINK to your script, you can start the connection without using the SIGNON command to specify the script name and you can stop it without using the SIGNOFF command to specify the script name. This is because RLINK is the reserved fileref for script files.
When SAS executes a SIGNON or a SIGNOFF command without a fileref, SAS automatically searches for a file that is defined with RLINK as the fileref. If RLINK has been defined, SAS executes the corresponding script.
options comamid=tcp remote=tcp-host-name;
By including an OPTIONS statement that contains the REMOTE= and COMAMID= system options in the autoexec file, you avoid having to execute an OPTIONS statement in each SAS session when using SAS/CONNECT.
Modifying your autoexec file as recommended eliminates a step in the process of starting the connection, and you can use the short form of the SIGNON and SIGNOFF commands.
For example, to start a connection from a SAS session that was invoked by using a modified autoexec file, simply issue the SIGNON command or submit the SIGNON statement:
signonor
signon;
When you have completed your remote processing, you need only to issue the SIGNOFF command or submit the SIGNOFF statement to stop the connection:
signoffor
signoff;
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.