Chapter Contents

Previous

Next
SAS/CONNECT User's Guide

Using the Program Editor Window to Start and Stop SAS/CONNECT


Sign On from the Program Editor Window

  1. Enter an OPTIONS statement in the Program Editor window of the local SAS session.

    Use the SUBMIT command, statement, or function key to execute the OPTIONS statement. The OPTIONS statement must specify the COMAMID= system option and may specify the REMOTE= system option. For example:

    options comamid=communications-method 
       remote=remote-session-id;

    See COMAMID= and CONNECTREMOTE= for more information about specifying values for these options.

  2. Issue the SIGNON command or type the SIGNON statement in the local SAS session. Specify the appropriate sample script (if necessary) for your remote operating system:
    signon cscript='external-file-name-of-script';

    Note:   Automatic signon sample scripts should be modified with installation-specific information before you can use them to start the connection.  [cautionend]

An example of signing on a remote host that is running a spawner program includes:

options comamid=communications-method
   remote=nodename.servicename;
signon;

After the SIGNON command executes successfully, a message in the Log window indicates that the connection is established.

Now you are ready to use SAS/CONNECT. You can remote submit SAS programs to execute on the host, access a single-user server with RLS, and upload and download SAS files and external files.


Sign Off from the Program Editor Window

Issue the SIGNOFF command, or type the SIGNOFF statement in the local SAS session:

signoff cscript='external-file-name-of-script'

Note:   If you used a script to sign on, the same script can be used to stop the connection.  [cautionend]

After the SIGNOFF command executes successfully, a message in the Log window indicates that the connection is terminated.

The sample scripts that are used for automatic log on are used for log off from your remote system session.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.