Terminating a SAS Process


You can terminate a SAS process using several methods . A SAS server is a specific type of SAS process.

Note: Before you terminate SAS using one of the following methods, you should try to end the process using one of the methods described in Ending Your SAS Session on page 29 or in the documentation for the SAS server.

If the SAS process was instantiated as a Windows service, then you can terminate the process using one of the following methods:

  • at the command prompt, submit one of the following commands:

    • net stop < service name > where service name is the name of the Windows service.

    • sc < server > stop < service name > where server is in the form \\ServerName and service name is the name of the Windows service.

  • in the Microsoft Management Console Services snap-in, select the service that you want to terminate and select Stop .

To terminate a SAS process, use one of the following methods:

  • if you are using Windows XP, at the command prompt submit

     taskkill/pid <  process id  > 

    where process id is the SAS process ID. You can get this process ID from the output of the tasklist command.

  • in the Windows Task Manager, select the process and click End Process .

CAUTION:

  • Using the taskkill command or the Windows Task Manager to terminate a SAS process might result in data loss or data corruption.




SAS 9.1 Companion for Windows
SAS 9.1 Companion for Windows (2 Volumes)
ISBN: 1590472004
EAN: 2147483647
Year: 2004
Pages: 187

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net