IBM Support

Starting Sybase Adaptive Server from the Command Line as a Service.

Troubleshooting


Problem

This technote provides a solution on how to start/stop Sybase Adaptive Server from the Command Line.

Resolving The Problem

The resolution is to use the net start command from the command line or within a batch file.

· To start Adaptive Server or SQL Server as a service from the command line:



Syntax

net start "Sybase SQLServer _ <SQL Server Name>"

Example

net start "Sybase SQLServer _ SYBASE"
· To see a list of services that have already been started:

Syntax

net start

· To stop Adaptive Server or SQL Server when it is running as a service:

Syntax

net stop "Sybase SQLServer _ <SQL Server Name>"

Example

net stop "Sybase SQLServer _ SYBASE"

Note:

When you use net start, the service remains active after the Command Prompt window is closed or the batch file terminates. Net start makes use of information in the registry.



[{"Product":{"code":"SSSHVH","label":"Rational TestManager"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Datastore","Platform":[{"code":"PF033","label":"Windows"}],"Version":"2003;2003.06.00;2003.06.12;2003.06.13;2003.06.14;2003.06.10","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

More support for:
Rational TestManager

Software version:
2003, 2003.06.00, 2003.06.12, 2003.06.13, 2003.06.14, 2003.06.10

Operating system(s):
Windows

Document number:
339005

Modified date:
16 June 2018

UID

swg21202644