Start up SQL Anywhere Services from command prompt on NT
On the taskbar, click on “Start” then select “Run”. Type in regedt32 or regedit.
ASANYx_y or SQLANYx_y
where ‘x’ represents the Service Type:
a – Sample Applicationc – Client
e – Standalone Engine
l – Agent for Replication Servero – Open Server Gateway
r – SQL Remote Message Agents – Network Server
and ‘y’ represents the Service Name as seen in the ‘Name’ column in Sybase SQL Anywhere Service Manager.
Find out which key is for the service you want to start from the DOS prompt. Write down the name of the key. Note that the key is
Case sensitive for version 5.x.x but is not case sensitive for version 6.x.x/7.x.x/8.x.x.
Therefore, the syntax to start up a SQL Anywhere Service from a command prompt (DOS prompt) would be:
net start <key for the service from registry editor>
Therefore, the syntax to stop a SQL Anywhere/Adaptive Server Anywhere Service from a command prompt (DOS prompt) would be:
net stop <key for the service from registry editor>
Credit to: http://www.sybase.com/detail?id=10915
COMMENTS
0 Responses to SQL Anywhere Services from command prompt