Go to the $SYBASE/OCS-12_5/bin directory, and enter:
source SYBASE.csh
From a command prompt, enter:
isql -Usa -P -Sservername
servername is the name of the machine where Adaptive Server is installed.
At the isql prompt, enter:
shutdown SYB_BACKUP go
shutdown with nowait go
Monitor Server shuts down automatically once Data Server
is shut down.
If you get a CT-LIBRARY error indicating that it cannot connect to the database, then Adaptive Server Enterprise is already shut down.