wpe1.jpg (13116 bytes)

How do I remote execute a SAS® program?

Scenario #3

The SAS® program file (e.g., Example.sas) resides on a remote Windows NT/2000 server.

  Assumptions

The SAS® program file (e.g., Example.sas) resides on a remote Windows NT/2000 server. Server A (i.e., named and configure using the Site Manager.  Please refer to the Naming and Configuring a server with the Site Manager for details on how to name and configure a server.)
 
SAS® is installed on Server A and the user can execute as SAS® program by issuing sas - <option> program_name.sas.

 

Step 1:

Use the Document Manager to copy (drag and drop) Example.sas from Server A to a directory (e.g., test) on the local workstation.

 

Step 2:

Open (double click) the local copy of Example.sas.

ASAP ™ will automatically navigates to the Editor screen and displays the program in an editable mode.

 

Step 3:

Click the Execute Program button run.gif (226 bytes) on the Editor's tool bar.

ASAP ™ will automatically navigates to the Server Execute screen, connects to the server (i.e., the server where you copy the file from - Server A), executes the execution script (define in Server A's profile using the Site Manager) and you will be able to see the execution in action.

 

Step 4:

Once the execution has completed, type in the word "exit" at the system prompt if you have not setup the post execution script for the server in the Site Manager.

ASAP ™ automatically navigates back to the Editor screen.  Behind the scenes, it will automatically transfer the log file and the lst file to the same directory where you have copied the SAS® program file (Example.sas) to in Step 1.

Once both the log and lst files have been transferred, ASAP ™ will then open them and display them on separate tabs in the Editor screen.

 

 

    

Copyright © 2001- 2002 complementSoft LLC. All Rights Reserved